I am using the specific API to get all active users:
https://api.atlassian.com/ex/jira/${cloud_id}/rest/api/3/users?includeInactive=false
But it gave me app users, jira users and other inactive users, that are on my account. Could you help out how can i get only active users with maximum results.
Hi Ammar,
Welcome to the community!
To get only active users you need to add a parameter to the request to set it to not gather inactive users. You can use the parameter below:
data = { 'username': '.', 'includeInactive':'false'}
If you access the Get users method in the Atlassian API documentation below you will be able to check about the includeInactive parameter:
Please give it a try and let me know how it goes.
Kind regards,
Carlos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.