Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,000
Community Members
 
Community Events
165
Community Groups

How to Get Sprint Velocity Data via JIRA REST API?

Hi,

I am looking for a way to obtain velocity data via JIRA server REST API.  I have been unable to find a way to do this and was hoping someone might have some insight on this?  I am basically looking to pull the data from the velocity report page, but for all past sprints.  When I do a REST call for all issues within a sprint, I am only returned the current data, however this is not what I'm looking for.  Any help or advice would be much appreciated.

Thanks in advance!

1 answer

1 accepted

2 votes
Answer accepted

Hi @John Consorti 

According to https://jira.atlassian.com/browse/JSWSERVER-12877 , the documentation is not full. So :

JIRA Agile REST API Reference does not contain any info about how to query Agile reports e.g. Velocity or Burndown.

However, there are available endpoints to achieve this, e.g.:

  • for Velocity:
    /rest/greenhopper/1.0/rapid/charts/velocity?rapidViewId=<board_ID>

     

Hope it helps !

Thanks for this. This works.

This only gives data for the last 7 sprints. Any ideas on how to get beyond those sprints ?

Like # people like this

I'd also like to get more than 7 sprints of data.  I have little hope of getting more though since this looks like it's just the data from the web interface and there's no way I know of to get beyond that many in the web interface.  Hopefully I'm wrong.  Or someone could point us to a different way to get velocity beyond what this page gives us without buying an expensive add-on.

Suggest an answer

Log in or Sign up to answer
TAGS

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