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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

1 vote
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

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