JIRA Integration - (FE) On a project's vulnerability report, show count of related Jira issues within a rows activity column
When the Jira issues for vulnerabilities integration is enabled the Vulnerability Report should show the count of associated Jira issues for each line item:
Vulnerability Report
Design Issue
Implementation Plan
- Within
ee/app/assets/javascripts/security_dashboard/graphql/queries/project_vulnerabilities.query.graphql
add fields to query external issues. For example:
query ProjectVulnerabilities {
project(fullPath: "security-reports/security-reports") {
name,
vulnerabilities {
nodes {
id
externalIssueLinks {
nodes {
linkType
}
}
}
}
}
}
If the current project is set up to use the integration for Jira vulnerability-issues, then use the count of externalIssueLinks
response nodes.