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,368,560
Community Members
 
Community Events
168
Community Groups

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

0 votes
Answer 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.

0 votes
RicardoA Rising Star Jul 15, 2013
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 Sign up to answer
TAGS

Atlassian Community Events