JIRA REST API get all users

Hasitha Weerasinghe picture Hasitha Weerasinghe · Oct 11, 2014 · Viewed 13.2k times · Source

I'm trying to get all users from JIRA REST API. I need to save all users to my Database from my own java client. Is it possible to do that ?

If so how we going to do that?

Answer

mattrq picture mattrq · Oct 20, 2015

There seems to be an undocumented way:

Use the "Find user" api

https://docs.atlassian.com/jira/REST/latest/#api/2/user-findUsers

For the username query use %

EG: /rest/api/2/user/search?username=%