Forums

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

How can I fetch all team members using Jira api?

santosh singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2019

Hi,

Is there any api provided by Jira to fetch all team members name?

1 answer

0 votes
Wayne Bridgman May 30, 2019

This should work for you:

curl -s -u username:password --request GET https://bitbucket.yoururl.co.uk/rest/api/1.0/admin/users | jq --raw-output '.values[] | .name + " => " + .displayName'

vinay kumar May 30, 2019

Hi Wayne, Thanks for the reply. I tried the API at URL /rest/api/1.0/admin/users at our Jira server but its not working(404 found error). Is this API for bitbucket server or for JIRA server?

Like Saurabh Saxena likes this

Suggest an answer

Log in or Sign up to answer