Skip to content

Differentiate Jira issue creation based on setting

Based on the setting created in Add form jira issue creation setting to Jira in... (#478824 - closed), the method of Jira issue creation should be differentiated on the vulnerability details page.

  • If the setting is disabled, use the current graphql mutation method.
  • If the setting is enabled, use the url createJiraIssueUrl to let the button redirect too

Implementation plan

  • backend Expose the setting to the frontend
  • frontend Remove the external link icon if the graphql method is used
  • frontend If setting is enabled, make the button link to createJiraIssueUrl which we can simply inject because it's provided already higher up the component chain
Edited by Lorenz van Herwaarden