Feature: Issue submission validation

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

A US Government customer is requesting a feature to validate issue submissions based on specific criteria. They have an organizational requirement to meet specific compliance standards for record keeping -- at present, their approach is through the usage of labels. Having the ability to do this natively would avoid needing to use a compute-intensive CI/CD workaround (below).

Workaround

It's possible to use an Issues events webhook in conjunction with a pipeline trigger to kick off a CI job defined in .gitlab-ci.yml, which requests against the Projects API

This would require:

  1. Create pipeline trigger token on Project B
  2. Create project access token on Project A. Save token to CI/CD vars of Project B.
  3. Add webhook to Project A with pipeline trigger token (from #1 above)
  4. Create .gitlab-ci.yml file that hits the /projects/:id/issues?labels=foo,bar endpoint.

Relevant Info:

cc @rachel_fuerst

Edited by 🤖 GitLab Bot 🤖