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:



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
Community showcase
Posted yesterday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

35 views 4 0
View post

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