inactiveUsers()
- Jack Nolddor (Unlicensed)
- Jack Nolddor
Description:
Perform searches based on inactive users that belong to the provided group. Note:
See also: activeUsers()
If no group is provided, it will return all users set as inactive in the system.
Syntax | inactiveUsers() inactiveUsers(group, ...) |
Available since | v1.0.0-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 inactive user in 'EMEA' or 'LATAM' projects:
creator IN inactiveUsers() AND project IN ("EMEA", "LATAM")
• Find bugs reported by currently active users:
reporter NOT IN inactiveUsers() AND issuetype = Bug
• Find issues that are assigned to inactive users who belong to 'HelpDesk L1' or 'HelpDesk L2' groups:
assignee IN inactiveUsers("HelpDesk L1", "HelpDesk L2")
Real World Use Cases:
· Finding Issues Owned by Inactive Users with JQL (by KYLE at ATLASSIAN Community).
· JRASERVER-34168 - Add functionality to JQL to search for inactive users (by Jens Kretzschmar)
· How do I assign issues owned by an inactive user to an active user? (by Mark Seymour at ATLASSIAN Community)
· How can I looking for issues that created by inactive user? (by Sara Asis at ATLASSIAN Community)
JQL Function Reference