The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events