I’m trying to fetch all active and inactive user details from Jira Cloud using the /rest/api/3/users endpoint. Initially, I used a Personal Access Token (PAT) from my admin account with Bearer authentication, but the request failed with a 403 Forbidden error. When I switched to Basic Auth with an API token, the request still failed, returning:
Hi @Meghana
Are you or in a group granted the global Jira permission "Browse users and groups"?
As a 403 means no permission, asre you a Jira Admin?
Dear @Meghana
Do you get the token from https://id.atlassian.com/manage-profile/security/api-tokens
?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Meghana
It appears that the URL is for Cloud.
Personal Access Token (PAT) is available for the DC version.
For Cloud, please check out API token page: Manage API tokens for your Atlassian account
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.