Get Version's Related Issues Count
GET {{baseUrl}}/rest/api/3/version/:id/relatedIssueCounts
Returns the following counts for a version:
- Number of issues where the
fixVersion
is set to the version. - Number of issues where the
affectedVersion
is set to the version. - Number of issues where a version custom field is set to the version.
This operation can be accessed anonymously.
Permissions required: Browse projects project permission for the project that contains the version.
RESPONSES
status: OK
{"self":"https://your-domain.atlassian.net/rest/api/3/version/10000","issuesFixedCount":23,"issuesAffectedCount":101,"issueCountWithCustomFieldsShowingVersion":54,"customFieldUsage":[{"fieldName":"Field1","customFieldId":10000,"issueCountWithVersionInCustomField":2},{"fieldName":"Field2","customFieldId":10010,"issueCountWithVersionInCustomField":3}]}