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

Greenhooper REST API

Hi,

We use an old version of Jira Agile plugin that uses Greenhooper REST API. We are searching for documentation of Greenhooper REST API specification. Could someone help us to find it ?

 

Regards,

Momchil

1 answer

1 accepted

1 vote
Answer accepted
Andy Heinzer Atlassian Team Jun 08, 2018

You can find the Agile REST APIs in this link: https://docs.atlassian.com/jira-software/REST/

Jira 7 was where Agile became Jira Software.  However for the older Agile versions, you can still find the 6.7.x versions listed there.  

If you need the base Jira Server/Core (ie to perform basic Jira tasks like editing issues, creating issues, etc) you can still find these in the https://docs.atlassian.com/software/jira/docs/api/REST/

I hope this helps.

Hi,

 

I looked all over APIs but still can't find ours.

There are lots of similarities between Agile REST API 6.7.6 and our, but its not the same API.

Our API is using the following calls  : 

(GET)  <jira_url>/rest/greenhopper/1.0/rapidview - get all boards

(GET) <jira_url>/rest/greenhopper/latest/sprintquery/{spintID}?includeHistoricSprints=true&includeFutureSprints=true get sprintsby given board

(POST) <jira_url>/rest/greenhopper/1.0/sprint/{rapidViewId} - Create sprint

(PUT) <jira_url>/rest/greenhopper/1.0/sprint/{sprintId} - Update sprint

etc... 

 

We are searching for REST call to get board id by given board name that excludes getting all boards and finding id of our one. 

Also, we have a problem with sprint creation. We have to make two REST calls: POST to create sprint and PUT to set its name and dates. Is there a way to create sprint with one POST ?

 

Regards,

Momchil

Andy Heinzer Atlassian Team Jun 21, 2018

What version of Greenhopper are you using?   I did come across a request to publish the old greenhopper rest api reference guides in https://jira.atlassian.com/browse/JSWSERVER-13299

It does not appear that Atlassian has any of these documented at this time.  However the greenhopper product has been deprecated for some time now.   It's replacement Jira Agile as also been deprecated.  In place of both of these is the current versions of Jira Software.

It might help if you to install the Atlassian REST API Browser.   This is a plugin for Jira that you can install and with it you can browser through the public and private rest api calls that might be possible to make in your Jira.

Try the endpoint called greenhopper/1.0/rapidviews/list?query=boardname   You can make a GET call here and replace the 'boardname' with the name of your board.  Just note that if you have two boards with the same name, you're going to get two results here.   Also this does not appear to have been a public API, so I don't really have much hope that we'll find public documentation on using that specific endpoint, but it might help here.

As for the two REST calls need to create the sprint and set the dates, I don't see a way to do this in a single call in Greenhopper.  However it looks like the later Jira Agile versions can do this with the endpoint called /rest/agile/1.0/sprint.   However I doubt that greenhopper versions will have access to that endpoint at all. Sorry there does not appear to be a way to do that in that in a single call in your version.

Thank you , for your fast and helpful response. We have found what we need.

 

Regards,

Momchil

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

975 views 7 0
Join discussion

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