fixVersion
is set to the version.affectedVersion
is set to the version.curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/version//relatedIssueCounts'
{"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}]}
affectedVersion
is set to the version.fixVersion
is set to the version.