Hello @lavakumar.dukanam,
The Greenhopper REST API endpoints are internal only, not officially supported, and are expected to only work when called from the browser. That’s why the same request works in Postman but it fails from a connect add-on.
The public/supported REST API endpoints for Jira Software Cloud are the ones documented in: https://developer.atlassian.com/cloud/jira/software/rest/intro/
For further details on this please see:
- https://community.atlassian.com/t5/Jira-Software-questions/Greenhopper-JIRA-Agile-REST-API-documentation/qaq-p/186945#M4400
- Agile API equivalent for a Greenhopper sprintreport URL
- How to access private Jira APIs from Atlasssian Connect add-on?
- Can we use JIRA GREENHOPPER REST API's now?
I hope this helps.
Cheers,
Dario