Skip to content

Add jira association check to auto merge capabilities

What does this MR do and why?

When the title requires a jira association, but does not have one, it blocks the merge.

We need to add this check to the MWCP, so if auto merge is set, but is blocked by the Jira title, then if this is resolved, it should merge.

  • Turn 'merge_when_checks_pass` on
  • Settings -> Integrations and enable Jira
  • Require the setting, 'Jira association in title'
  • Create a mergeable MR except for jira association
  • MR should now not be mergeable
  • Set MWCP
  • Add Jira association to title
  • MR should merge

Related to #440914 (closed)

Edited by Marc Shaw

Merge request reports