I'm trying to use a REST API call to get a list of all versions in my project along with the count of all issues associated with each version. Looking at the documentation at https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-project-projectIdOrKey-versions-get you see two versions in the example response, one with associated issues enumerated and one without. But there's no documentation explaining how to get one or the other. The only query parameter, "expand=operations" doesn't provide this info.
Meanwhile, the similar API call "version" -- the paginated one -- DOES have expand=issuesstatus which provides what I'm looking for... just paginated.
I did try expand=issuesstatus with versions but no luck.
What am I missing here? How do I get the data in the second version in the example response?
Thank you for reaching out to Atlassian Community!
I saw that you created a ticket with our support related to the same question and they are already helping you, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter in two different platforms, let's focus on the ticket instead.
Once the ticket is resolved, feel free to share the resolution here to help other community members that may face the same issue.
Learn how to use two new reports for next-gen projects in Jira Cloud: Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events