It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get project versions REST API call not returning issues status

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?

1 answer

1 accepted

0 votes
Answer accepted

Hi Alex,

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.

Regards,
Angélica

Sure, makes sense.

I did get a "resolution" of sorts on this -- the documentation is incorrect. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

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 ...

375 views 1 3
Join discussion

Community Events

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

Events near you