Hello,
I am looking for a way to retrieve active users on my entire JIRA Cloud instance via JQL. Need to send a bulk email to subset of the users in a specific domain via automation. Can you please help?
Thanks in advance!
I doubt there is a JQL that exists which allows you to retrieve user list.
What you can do is in automation, use "Send web request" and specify url like this
https://your-domain.atlassian.net//rest/api/3/users?startAt=0&maxResults=1000
if there are more than 1000 users, then you will have to send multiple request.
Alternative approach is to make a REST API call. Refer link for more details
Thanks Vishal . I knew that the REST API exists but wanted to do via query so that I could run it via automation without integrating to my backend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.