Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sprint Velocity using Jira Agile REST API

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

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}

 

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?

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 Lou Rodriguez likes this

Thanks Jeff! This helped me out! 

Like Lou Rodriguez likes this

That's really helpful, thanks Jeff!

Like Lou Rodriguez likes this

I am also looking for this. Any solution?

TAGS
Community showcase

The Chronicles of a Journey filled with Happiness, Team participation, Plan B, Co-Leaders, and COVID

From the US East to the US West to Patagonia Argentina and beyond   This year (2022) I am reaching 12 years as Atlassian Community Leader. I wanted to finish 2021 strong with multiple events...

86 views 6 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you