Skip to content

Remove `jira_issue_association_on_merge_request` feature flag

What does this MR do?

This MR removes all the code related to the feature flag jira_issue_association_on_merge_request as described in #335280 (closed).

The feature flag was enabled by default %14.1 and we can now safely remove it.

Screenshots or Screencasts (strongly suggested)

Disabled (without ticket) Enabled (with ticket) Enabled (without ticket)
image image image

How to setup and validate locally (strongly suggested)

  1. You need a GitLab Ultimate license
  2. Add a Jira integration in [GDK_HOST]/gitlab-org/gitlab-shell/-/settings/integrations
  3. Enable Merge requests > Require an associated issue from Jira in [GDK_HOST]/gitlab-org/gitlab-shell/edit
  4. Create a MR in that project that references a jira reference and verify that it can be merged
  5. Remove the jira reference and verify that it cannot be merged
  6. Disable Merge requests > Require an associated issue from Jira in [GDK_HOST]/gitlab-org/gitlab-shell/edit
  7. View the same merge request and verify that it can be merged without the jira reference

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 #335280 (closed)

Edited by Jiaan Louw

Merge request reports