I have used Greenhopper API in my Atlassian connect app to get velocity chart data but got an error message: 401 Unauthorized ( however, it’s working with basic authentication by giving username and password manually).
String response = restClients.authenticatedAsHostActor().getForObject(“https://seneca-global.atlassian.net/rest/greenhopper/1.0/rapid/charts/velocity.json?rapidViewId=77”, String.class);
According to Jira Rest API Document, Greenhopper got deprecated. But, jira is using that API to generate velocity chart.
Please find the attached screenshot of the Velocity Chart,as you can see behind that, Greenhopper API was used!
Any help is appreciated and Thanks in advance.