Add count field for related vulnerabilities
To be able to show an exact count of the related vulnerabilities, we need to expose a count field in the relatedVulnerabilities field of the vulnerabilities work item widget.
Implementation steps
- Add a new type
CountableVulnerabilityTypewhich extendsVulnerabilityTypeand set itsconnection_type_classtoTypes::CountableConnectionType - Use this
CountableVulnerabilityTypefor therelated_vulnerabilitiesinvulnerabilities_type.rb
Edited by Lorenz van Herwaarden