Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API Question - Project Key mapped to Permission Scheme

Luis Zuniga February 21, 2020

Hi,

Using the API v3, I can find the project information by using the project key:

https://mydomain.jira.com/rest/api/3/project/ABC/

 

I can also find the permission scheme by using the permission scheme id:

https://mydomain.jira.com/rest/api/3/permissionscheme/16557/

 

However, not sure how to associate the project with its permission scheme since there is no common key in either.

Ultimately I'd like to query a project by key and get the name of the project and the name of the name of the groups assigned to the permission scheme (holder parameter)

 

Any help would be appreciated

 

Luis

1 answer

0 votes
Bastian Stehmann
Community Champion
February 22, 2020

Hi,

You can assign the permission scheme like this

https://docs.atlassian.com/software/jira/docs/api/REST/8.7.1/#api/2/project/{projectKeyOrId}/permissionscheme

If you want to get more info about users/groups assigned to your roles, you can get them here

https://docs.atlassian.com/software/jira/docs/api/REST/8.7.1/#api/2/project/{projectIdOrKey}/role

Bastian Stehmann
Community Champion
February 22, 2020

Just noticed that you are on cloud, so you might look for similar api calls there, they should be there.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events