How to find the Active users by Role ID using Jira Align's API
Summary
This article describes how to retrieve the active users with specific role ID using API.
Environment
Jira Align
Solution
We use the field 'isLocked' in the user table to determine if the user is active or inactive.
# isLocked=-1 means that the user is deactivated
# isLocked=0 means that the user is activated
Swagger API
https://<jiraalign-domain>.jiraalign.com/rest/align/api/2/Users?$filter=roleID eq 3 and isLocked eq 0Simple API with select command
https://<jiraalign-domain>.jiraalign.com/rest/align/api/2/Users?$filter=roleID eq 9 and isLocked eq 0&$select=enterpriseHierarchyId,email,roleId,status,isLockedAdditional details can be found in below articles:
Updated on September 25, 2025
Was this helpful?
Still need help?
The Atlassian Community is here for you.