Is it possible to get programmatically a set of GH's SprintMarkers, whish contains current issue?

I need to get set of SprintMarkers for concrete issue from my code and add linked issues to the same Spring Marker.

Sprint Marker is a "draft Sprint", on "Plan" board, before pressing "Start Sprint". After pressing "Start Sprint" GH removes this object from DB and creates Sprint object. There is table "AO_??????_SPRINTMARKER", which contains this objects persisted.

I've read almost all the documentation about GH's API, but found nothing about this question. I guess, this is impossible without hacking GH. Is it correct or not?


I saw question It is not the same thing.

2 answers

1 accepted

You can also do it using REST - The REST url is rest/greenhopper/1.0/api/rank/after

A sample JSON payload is from my browser is:


Thank you very much. I'll try. But I need to add issues to sprintmarker by event, so I have to use Java/Groovy listener. Is there some GH's API for this?

Thanks! Investigation in GH's REST code gave me required pieces of code.

0 vote

I would refer to Shawn's comments here:

As far as I know, any issue can be in only one planned sprint in any given board. But, I believe it can be in different planned sprints on different boards, so I think you will need to traverse the ranking table as Shawn describes, for each board.

Thank you, Jamie! I missed this topic while searching.

Yep... there is a lot of good info there... in fact that's pretty much the sum of human knowledge outside Atlassian about how GH stores its data.

But the problem now is to add another issue to found sprint marker. Do you think it is possible?

It's possible if there is a remote or java API for it... whether they make it easy to access that API is another matter. To be honest I don't know, I'd consider asking a new question.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,041 views 15 13
Join discussion

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