How to fetch all user detail from a project using JQL

Hi

I want to fetch a list of all user which are assigned for a project. what i found is that i can fetch all the issues in a project. Could you provide me a way to fecth all the users associated with a project.

1 answer

You can't fetch the users using JQL I think.

What do you mean by all users assigned to project - all users participating in the projects roles ?

Do you need to fetch the users in some code (plugin using Java, script, etc..) ? If so, then you can use either the JAVA API directy or the REST API to retrieve the contents of the project's roles and all the users in those roles

Nope. JQL is for searching for issues.

"All users associated with a project" is not a useful phrase - you need to define *exactly* what you mean by that - your rules could easily be different from anyone else's guess on what it means.

I am using Rest API to fetch user detail by providing project name in

https://URL/rest/api/2/search?jql=project="*****"

I will try using Boris approach

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

170 views 4 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you