Requirement:
Approach
But loks like GET priority schemes expects user to be part of jira-admins group otherwise API does not return any priority schemes
Is that the pre-requisite for this end point? this is posing challenge that we always have to use an admin user credentials..
Is there any other way to Get list of priorities availble for a project? We are using this approach because Issue Priorities end point is marked deprecated
You can ask for that by this API - https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get
No admin rights needed.
Regards,
Seba
Hello @Sebastian Krzewiński
Can you provide a detailed example of how to use that endpoint you recommended to get a list of priorities availlable for a project.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But this is for specific issuetype .. we need to get them for a project, not specific to issuetype
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Naveenkumar Goudar
But looks like GET priority schemes expects user to be part of jira-admins group
As stated in that endpoint's documentation:
Permissions required: Permission to access Jira.
Data Security Policy: Exempt from app access rules
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But I have tested in our test acount if I remove user from jira-admins-<> group then it does not return any priority schemes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recommend that you then try using OAuth 2.0 style authentication and test with the documented scope:
OAuth 2.0 scopes required:Classic:manage:jira-configuration
manage:jira-configuration is very high level, and certainly doesn't equate with what the documentation says about Basic Auth permission level only needing access to Jira.manage:jira-configuration scope just to read Priority Schemes is dangerous, as it allows broad permission to also do harm to Jira. This scope is required because the documented Granular scopes of *.priority-scheme:jira are not yet available to allocate to an OAuth 2.0 account using the GUI. This topic has been discussed in this Developer Forum thread and raised as a Bug in JRACLOUD-96390You 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.