Forums

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

How to get all active users?

Ignacio Estaun September 16, 2021

Hi there,

I am using the Rest API of Jira Cloud and I want to get all the active users in my company. I have found the method Get all users that return active and inactive. A colleague told me that I should use the following data parameter structure: 

data = { 'username': '.', 'includeInactive':'false'}

I have search in the documentation where is the explanation about it but I couldn't find it. I apprecciate some help. Thank you! 

1 answer

0 votes
Kishan Sharma
Community Champion
September 16, 2021

Hi @Ignacio Estaun Welcome to the Atlassian Community!

Can you try includeInactiveUsers parameter and see if that works ?

Ignacio Estaun September 17, 2021

Hi, thank you for you answer. However, I already have the solution, what I want is the documentation that shows the keyword. 

Kishan Sharma
Community Champion
September 17, 2021

Great, if you don't mind please share the solution, it will help other members having similar query. I can search that keyword on this page.

Ignacio Estaun September 17, 2021
The solution is already in the question. Nevertheless, I can post it here as well:
data = { 'username': '.', 'includeInactive':'false'}
Like Roy Donasco likes this
Kishan Sharma
Community Champion
September 17, 2021

Thank you Ignacio!

Roy Donasco
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!
July 27, 2022

how is the query structure? is it supposed to be part of the GET query parameters or header? Can you please share the details?

 

Thanks

Suggest an answer

Log in or Sign up to answer