How do you get the # of issues "in progress" from a given version using API?

My goal is to be able to recreate this chart on an external dashboard system:

00000658

 

Have read through the latest API docs here, and tested it out on my own. 

GET /rest/api/2/version/{id}/unresolvedIssueCount is the closest endpoint that returns a value for issuesUnresolvedCount and total issuesCount, (which I can use to deduce the doneIssueCount) but I don't get a value for issuesInProgressCount anywhere. I don't see any of the version endpoints that returns those values.

So my question is: 

Do I simply have to write a GET /issues query to see the count? or am I missing something. 

1 answer

This widget could not be displayed.
How about executing a JIRA search or multiple JIRA searches using JQL as you would do in JIRA? Not sure what's the name of the function (GET /issues as you suggested above) but there should be some API function like selectIssues combined with the right JQL returning the desired result for you which you can then count. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 6 hours ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you