JIRA API getting commitment Story Points

gempir October 7, 2015

I'm trying to acess the JIRA REST API which has worked fine except for the fact that I can't get the info I want.

The JIRA Reports page with the velocity chart has information like 

Commitment and Completed Story Points for specific sprints.

Is there a way of acessing both of those for an issue or sprint?

My best bet so far is this: https://jira.host/rest/api/2/search?jql=Sprint=SPRINTID&expand=changelog&fields=customfield_XXXXX,status

This would return all issues with changelog and customfield is the story point value currently.

Now the real issue is running through the history, checking if the ticket is in the sprint or not. All that to get the actual Story Points of 1 sprint commited (so just before the sprint started)

I also tried only checking 1 specific issue, didn't help.

API browser was of no help sad

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2015

You need to use JIRA Agile REST API rather then JIRA REST API.

gempir October 7, 2015

Yeah I already tried that. There is no option for what I'm looking

 

Correction this: https://jira.host.com/rest/agile/1.0/board/BOARDID/issue

throws back a java nullpointerexception

TAGS
AUG Leaders

Atlassian Community Events