Skip to content

Show create-jira-issue when gitlab issues disabled

What does this MR do?

This fixes an bug which prevents new Jira issues from being created via the pipeline's security tab when GitLab issues are not enabled.

How to test this locally

  1. Enable Jira integration and Jira Issues for a project
  2. Disable GitLab issues for the same project
  3. Go to a pipeline that contains vulnerabilities
  4. Click on a vulnerability - the "Create Jira Issue" button should be visible

Screenshots (strongly suggested)

before after
gdk.test_3000_security-reports_security-reports_-pipelines_205_security__1 gdk.test_3000_security-reports_security-reports_-pipelines_205_security__2

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

Edited by David Pisek

Merge request reports