If I interpret the docs correctly, it is currently not possible to call the Jira Software API from a Forge app.
I have been playing around with a sample app for a while trying to call api.asApp().requestJira("/rest/devinfo...") but I got to 403 - OAuth 2.0 is not enabled for this method.
Can anybody confirm that the Jira Software API is currently not accessible for Forge apps? Any idea when we could expect this?
You are correct. The Jira Software REST API endpoints do not currently support OAuth 2.0 authentication at this stage. The team are aware of this and planning to fix it, but I donāt think there is a target fix date yet.
I believe the Jira Software team have committed to getting this done in the near future. Obviously thatās still a bit vague so Iāll make some enquiries to see if there is an estimate.
In answer to my own question, it looks like this has been fixed now.
FYI - I had to look out for things like calling ārest/agile/1.0ā, not ārest/agile/latestā, and organising the necessary permissions, but I can get to the data now.