Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,303
Community Members
 
Community Events
184
Community Groups

How to request Atlassian Users via Jira API?

Edited

Hi all,

 

I'm trying to reach a list of user via Web API.
My qoal is:

  • Request list of users where the name matches for "Bob" or it is anything (2 different requests)
  • Users should be real users in this case where accountType="atlassian" and not "app" or anything else

I have tried:

/rest/api/3/user/search/query?query=is [accountType].entity.property.path is "atlassian"

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-query-get

or

/rest/api/3/user/search?query=*&accountType="atlassian"

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-get

 

But no luck so far.

I have done some investigation around the community, but I didn't find a solution, that could work for me.

Also the attached documentations above are in lack of examples about the usage of those complex parameters.

Could you help me please?

Thanks in advance,
Bence

 

P.S:
I'd like to feed a user selector component by this.

1 answer

0 votes
Gokhan Gokoz
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!
Apr 20, 2023

Hi @baloghbence0915

Did you find a way doing this, I have the same requirement. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events