Forums

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

Are they any solution to get all users with jira cloud rest api ?

Yassin Saddem October 8, 2019

GET /rest/api/3/users/search don't work on an atlassian-connect app.Are they any solutions for this ?

 

Screenshot from 2019-10-08 12-06-42.png

1 answer

1 accepted

0 votes
Answer accepted
fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 8, 2019

try user/search?username=.

Every real email has a dot. You will probably have to paginate to get all of them if you have more than 1000 users

https://docs.atlassian.com/software/jira/docs/api/REST/8.4.1/?_ga=2.101929026.2133888687.1569222961-1759405604.1564487198#api/2/user-findUsers

Yassin Saddem October 8, 2019

no there is an empty result 

Yassin Saddem October 8, 2019

[]

fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 8, 2019

my bad, my answer was for jira server.

but i think you had the answer in your own screenshotapi cloud.png

Yassin Saddem October 8, 2019

i  know but i search for other solution or similar solution .

fran garcia gomera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 8, 2019
Yassin Saddem October 8, 2019

thank you friend this help me :D 

Suggest an answer

Log in or Sign up to answer