Skip to content

Add jira association missing state to MR widget

Jiaan Louw requested to merge 280766-block-mr-widget-on-jira-missing into master

What does this MR do?

Adds a jira association missing state to MR widget as described in #280766 (closed).

Setup and testing

  1. Enable the development feature flag echo "Feature.enable(:jira_issue_association_on_merge_request)" | rails c
  2. Create or view an existing MR in the project that does not have a Jira issue associated with it
  3. Enable the setting ​Require an associated issue from Jira in Project > Settings > Merge checks
  4. Reload the MR page to verify that the Merge button is now disabled

Screenshots (strongly suggested)

Setting disabled 🔴 Setting enabled
image image

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

Related to #280766 (closed)

Edited by Jiaan Louw

Merge request reports