Using JIRA REST API, we are not able to access while trying as Non-admin users to jira 7.7.0 as this action fails due to the jira endpoint '/rest/api/2/priorityschemes? expand=schemes.projectkeys', as a result, keeps receiving error 403;this end point itself throws 403 response, which is for permission error. What are the permissions required to access an endpoint.
Welcome to the Atlassian Community @Abrar Khan! Do you have space between ? and expand in your endpoint by any chance ? Below endpoint is working for me -
/rest/api/2/priorityschemes?expand=schemes.projectkeys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for confirming. Its working fine for me on my server instance with admin and non-admin user as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you might be using both admin and user group ,for me its not working as expected for user
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By user group you meant group directory or something else ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While creating a user with user user privilages only rather than having admin privilage
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah ok, yes my user doesn't have admin privileges and the endpoint does work fine for that user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok can u please tell how you hve made it work when in 7.7.0 https://docs.atlassian.com/software/jira/docs/api/REST/7.7.0/?&_ga=2.30866943.1740602765.1517188112-1876827665.1515993923#api/2/priorityschemes-getPrioritySchemes
it is throws 403
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am simply hitting below endpoint in web browser -
<JIRA-BASE-URL>/rest/api/2/priorityschemes?expand=schemes.projectkeys
Are you doing it via a script ?
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.