Skip to content

Prevents MR merge when jira issue requirement is enforced

Aishwarya Subramanian requested to merge jira-mr-merge-api-check into master

What does this MR do?

Project Owners/Maintainers can enforce Jira issue to be specified in MR issue / title before merge.

This MR adds checks to the Merge API to prevent MR from being merged if the Jira requirements are not satisfied.

The check is applied to both APIs invoked from UI and user API.

Mentions #280765 (closed)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Aishwarya Subramanian

Merge request reports