JQL query to show team velocity

Does GreenHopper save Team Velocity or can I query for Team Velocity using JQL? In writing this question, my thought is that I can query for closed Sprints and then take average Story Points for past few sprints. Does that seem to be the right approach?

The reason I want to query for the data vs. use the Team Velocity report in Greenhopper is that I need to build a more complex report and team velocity is one of the parameters.

4 answers

1 accepted

0 votes
Accepted answer

In order to stop the annoying emails about either accepting an answer or answering my own question, I am answering that there does not appear to be a way to read this data from JIRA database. You have to calculate it yourself.

1 vote

Hi Laura - The GH velocity chart should show you a breakdown of velocity over time. See screenshot (I hope it attached properly). You should not have to query for the closed sprints then average story points... that reporting should already be available.

To get to the velocity chart click the report button on your scrum board, then under the board name you should see a dropdown list with "Burndown Chart" (or some other chart type). Click the dropdown menu and select Velocity Chart.

If the screenshot didn't work you can see the image in the GH screenshot-tour: http://www.atlassian.com/software/greenhopper/overview/screenshot-tour

Thanks, I know about the Team Velocity report. I am trying to build a different chart where one piece of data that I need is team velocity. Thus I was looking for a way to use SQL query to read the team velocity from Greenhopper if it is stored in the database. Perhaps it is only calculated each time for the team velocity report. That is part of my question. Is it stored, where it can be retrieved programmatically?

I'm looking for the same thing and haven't figure it out myself. Have you been able to figure out yet?

I know how to calculate it myself. I have not found a field that I can query that contains the current team velocity.

JIRA team sucks!! they are unable to provide a basic query capability of team velocity to its users

You can vote for GHS-12087As a Scrum Master I would like to make a JQL query for team velocity so can query for closed Sprints and then take average Story Points for past few sprints.  

This would allow me to make relevant automatically updated dashboards for management reports, and JIRA filter reports in Confluence.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,080 views 4 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you