Many of the community champions are recommending not to use JIRA GREENHOPPER REST API's? If so, what do we need to use for retrieving data of velocity chart gadget? From the network calls, I understand the current velocity chart of JIRA is using GREENHOPPER API. Can we use JIRA GREENHOPPER REST API's now? or will they get deprecated in the near future?
Community moderators have prevented the ability to post new answers.
@Nic Brough -Adaptavist-please find the attached screenshots of the Velocity Chart,
as you can see behind that, a greehopper api has been called by jira.
Now, I'm trying to use that greenhopper api in my atlassian connect app, receiving an error message as: 401 Un Authorized ( however, working when using basic authentication by giving password and username manually).
String response = restClients.authenticatedAsHostActor().getForObject("https://seneca-global.atlassian.net/rest/greenhopper/1.0/rapid/charts/velocity.json?rapidViewId=77", String.class);
the above code gets an error: 401
Please help!
Oh, hang on, that's Cloud, where some stuff does go back to the deprecated APIs because of the changes to the Software ones.
The recommendation stands - do not use the greenhopper apis. They could be turned off at any second, and they're not supported for external use. Please stick to the supportable ones.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Greenhopper was deprecated many many years ago.
You need to use the Jira Software REST API over at https://docs.atlassian.com/jira-software/REST/latest/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, but I wonder why the current velocity chart of JIRA is using GREENHOPPER API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not. It's using the one I've pointed to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.