Forums

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

How would I get a list of assignable users of a Jira Software project using the REST API

Christian Nielsen January 2, 2024

I need to verify that users listed in a field are 'assignable users' in specific projects. This verification needs to be done routinely and continuously, hence the need to do this via REST API from a script.

I am able to get all the userIDs listed in said field, I now need to check that they pass the assignable user permission test.

I know how to get a project's permission scheme using the REST API and thus I can get the permissions and 'holders', which gives me the projectRole values. But for the world of me, I don't seem to be able to get the 'actors' (I guess that is the term) for a specific project - I only get default actors, if they have been set.

1 answer

1 accepted

0 votes
Answer accepted
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 2, 2024

Hello, Good day. I would like to know if you have already explore the following option with REST API. https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/

Christian Nielsen January 3, 2024

Thank you for that - I was approaching the problem from the project/issue side and was reading different API documentation.

Like Mohanraj Thangamuthu likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events