activeUsers()

Description:

Perform searches based on active users that belong to the provided group.
See also: inactiveUsers()

Note:
If no group is provided, it will return all users set as active in the system.


SyntaxactiveUsers()
activeUsers(group, ...)
Available sincev2.3.1-RELEASE
Supported fieldsAssignee, Reporter, Voter, Watcher, custom fields of type User
Supported operatorsIN , NOT IN
Unsupported operators

= , != , ~ , !~ , > , >= , < , <=

IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED

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