activeUsers()
- Jack Nolddor
Owned by Jack Nolddor
Description:
Perform searches based on active users that belong to the provided group. Note:
See also: inactiveUsers()
If no group is provided, it will return all users set as active in the system.
Syntax | activeUsers() activeUsers(group, ...) |
Available since | v2.3.1-RELEASE |
Supported fields | Assignee, Reporter, Voter, Watcher, custom fields of type User |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find issues that have been created by any active user in 'EMEA' or 'LATAM' projects:
creator IN activeUsers() AND project IN ("EMEA", "LATAM")
• Find bugs reported by currently inactive users:
reporter NOT IN activeUsers() AND issuetype = Bug
• Find issues in which their 'Managers' field (múltiple user picker) are assigned to inactive users only:
Managers IN inactiveUsers() AND Managers NOT IN activeUsers()
Real World Use Cases:
· Equivalent of "activeUsers()" in JQL? (by Mike Shkolnik at ATLASSIAN Community).
JQL Function Reference