Goal: Retrieve site name to create valid links to projects, issues, etc.
Problem: I'm getting the following error message while hitting the `serverInfo` endpoint `403 Forbidden: {"errorMessages":["OAuth 2.0 is not enabled for method: GET /rest/api/2/serverinfo"]}`.
I'm using Workato (an IPAAS provider) to integrate with Jira. Through Workato, I only have access with endpoints that fall after `/rest/api/2/`. I'm aware that there's the following endpoint `https://api.atlassian.com/oauth/token/accessible-resources`, which I can use to get the site name. Unfortunately, I cannot use this endpoint due to Workato's limitations. For clients that use the OAuth 2.0 approach, I don't see another endpoint to use other than the `serverInfo` endpoint.
If there's a better endpoint to use to fetch the site name, I'd love to know what that is. If there isn't a better endpoint, can I get the `GET /rest/api/2/serverInfo` endpoint enabled for OAuth 2.0?
Hi,
thanks for reaching out.
The issue is that you are using /rest/api/2/serverinfo instead of /rest/api/2/serverInfo, but our endpoints are case sensitive.
I have confirmed that serverInfo endpoint is added to allow list for OAuth apps.
Regards,
Beata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.