INFO 16:42:02.643 _ Response: 403 Forbidden
INFO 16:42:02.643 _ {
errorMessages: [
"Your app does not have scopes that are required to access this method ('write:jira-work')."
]
}
When making a call to create an issue via api.asApp().requestJira('/rest/api/3/issue').
My application does have that scope included in its manifest.
Forge lint returns no issues (prior to the addition of that scope it will naturally return that the write:jira-work scope is required).
Removal of that scope from my manifest results in the following:
Immediate notification that the scope is required POST /rest/api/3/issue requires "write:jira-work" scope permission-scope-required.
The exact same response I receive with the scope added to the manifest (Your app does not have scopes that are required to access this method (‘write:jira-work’).
Is there something I’m missing? Any assistance is greatly appreciated.
Would you mind sharing more details on how you calling Jira API?
If the call is made from an app installed in Confluence, you need to install an app into Jira as well.
Hi, I am also facing the same issues, Could you please guide me.
I have copied and tried the above code and got this error.
ERROR 12:16:36.287 ed0477e1020192db You must create your route using the ‘route’ export from ‘@forge/api’.
See https://go.atlassian.com/forge-fetch-route for more information.
Error: You must create your route using the ‘route’ export from ‘@forge/api’.
Do you mind confirming that the data comes back from your search and that the other fields are populated? (ie, the accountId field for instance).
If you app needs to be multi-tenants, you will have to install it on all your sites.
As for being hosted privately, you app can only be installed if you share an installation link from the Developer Console, as per those guidelines).
So your app will not be installable by anyone else, if that is your concern? For the hosting part, all Forge apps are hosted on our Atlassian infrastructure, as per the following security highlights.