How to get issues for a sprint (GreenHopper) that hasn't started?

When planning a sprint it is difficult to tell how much time each person has remaining, currently we just write it down by hand as we go and keep track that way. I'm trying to work on a python script to get these totals as we go. The problem I'm facing is that there is no sprint id if it's still in planning, and cannot find a way to get a list of issues in a sprint that has not started.

I've tried looking at the different API's and such but haven't found anything useful. I'm starting to think the only way to do what I want is to use an HTTP library and try to immitate whatever the browser is doing to get the GreenHopper planning view. If this is what I have to do, can anyone offer help with how I might start going about this? Or even better, is there an easier way to get what I need?

To clarify, all I need is a list of the issues that are in an unstarted sprint, I already have the rest of the script written but I need this list. Thanks!

2 answers

1 accepted

Using the requests module I got the data from /rest/greenhopper/1.0/xboard/plan/backlog/data.json?rapidViewId=1&_=... and found the sprints I wanted using the afterIssueKey attribute under markers.

Hi Liam We have a knowledge article you can follow here in order to list the upcoming sprints and its issues: https://confluence.atlassian.com/display/GHKB/How+to+find+issues+from+non-started+sprints Also there is a documentation you can have a look here: https://extranet.atlassian.com/display/SUPIN/How+GreenHopper+stores+its+data+-+Active+Objects,+Property+Entry+Tables Regarding how the tables of GreenHopper behave. Best Regards, Ricardo Carracedo.

Suggest an answer

Log in or Join to answer
Community showcase
Bridget Sauer
Published Wednesday in Agile

Community Showcase: Thomas Deiler, Mountaineering Agile Coach

Thomas Deiler is a Bavarian, Mountaineering, Senior Agile Coach. In this Showcase, you will learn about his journey from software engineer to project manager, his freelance philosophy, and much more....

100 views 3 6
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot