Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sprint Velocity using Jira Agile REST API

Carlos Gavidia September 29, 2015

I'm trying to evaluate how velocity evolves on Projects Sprints using JIRA REST API. To accomplish that, I need to how many Story Points where committed at the start of the Sprint and how many where Completed at the end  of the Sprint.

Currently, I'm using this resource to get all the Issues per Sprint:

rest/agile/1.0/board/<boardId>/sprint/<sprintId>/issue

Which retrieves all the issues on the Sprint, but with the lates values for the attributes I'm interested in: that is, the current Status and the current story points. Is there a REST resource to get this information for the issue at the start and the end of a Sprint?

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

5 votes
Jeff Lamb August 22, 2016

Figured this out.  It's not in the REST API docs, but if you look at the network requests on the velocity chart report page, you can see this call made:

http://myserver/jira/rest/greenhopper/1.0/rapid/charts/velocity.json?rapidViewId={rapidViewID}

 

Vijay Bh February 1, 2018

I don't see any solution for this in recent Software Cloud or Jira Cloud API documentation. Has anyone solved this with latest version of API?

Jeff Lamb February 1, 2018

Like I said, it's not in the API.  https://jira.atlassian.com/browse/JSWSERVER-12877

I watched browser requests in the debug console to figure this out.  We've been using it for nearly 2 years now.

Like # people like this
Melvin Moreno April 30, 2018

Thanks Jeff! This helped me out! 

Like Lou Rodriguez likes this
Matt June 15, 2018

That's really helpful, thanks Jeff!

Like Lou Rodriguez likes this
0 votes
Jitendranath Guptha July 26, 2016

I am also looking for this. Any solution?

TAGS
AUG Leaders

Atlassian Community Events