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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

40 views 3 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