To find unresolved issues assigned to suspended users in Jira Software Cloud, the JQL query must check for issues with no resolution (unresolved) and an assignee who is inactive (suspended). The correct query isresolution is EMPTY AND assignee in inactiveUsers()(Option A), as it uses the appropriate field (resolution) and function (inactiveUsers()) to identify these issues.
Explanation of the Correct Answer (Option A):
Unresolved issues: In Jira, an issue is considered unresolved if itsresolutionfield is empty (i.e., not set to Resolved, Done, or similar). The JQL clauseresolution is EMPTYidentifies unresolved issues.
Suspended users: Suspended users are those whose accounts are inactive (e.g., deactivated or removed from the organization). TheinactiveUsers()function returns all inactive users in the Jira instance. The clauseassignee in inactiveUsers()filters for issues assigned to these users.
Combined query:resolution is EMPTY AND assignee in inactiveUsers()returns all unresolved issues assigned to inactive users.
Exact Extract from Documentation:
Search for issues using JQL
resolution is EMPTY: Finds issues with no resolution set (unresolved issues).
assignee in inactiveUsers(): Finds issues assigned to users who are inactive (e.g., deactivated or suspended).Example:
resolution is EMPTY AND assignee in inactiveUsers() returns unresolved issues assigned to inactive users.Note: TheinactiveUsers()function is specific to Jira Cloud and includes users who are no longer active in the instance.(Source: Atlassian Support Documentation, "Advanced searching - functions reference")
Why This Fits: The query correctly usesresolution is EMPTYfor unresolved issues andinactiveUsers()for suspended users, making Option A the correct answer.
Why Other Options Are Incorrect:
statusCategory != Done AND assignee not in organizationMembers() (Option B):
statusCategory != Donechecks the status category (e.g., To Do, In Progress) but is less precise thanresolution is EMPTY, as some statuses in non-Done categories may still be resolved.assignee not in organizationMembers()is incorrect, asorganizationMembers()is not a valid JQL function in Jira Cloud, and it would not specifically target inactive users.
Extract from Documentation:
statusCategory != Doneis broader thanresolution is EMPTYand may include resolved issues. NoorganizationMembers()function exists in JQL.
(Source: Atlassian Support Documentation, "Advanced searching - fields reference")
Useresolution is EMPTYfor unresolved issues. Thechangedoperator does not supportinactiveas a value forassignee.
(Source: Atlassian Support Documentation, "Advanced searching - operators reference")
statusCategory = Doneselects issues in completed statuses, not unresolved issues. UseinactiveUsers()for precise inactive user filtering.
(Source: Atlassian Support Documentation, "Advanced searching - fields reference")
ThemembersOf()function checks group membership, not user activity status. UseinactiveUsers()to find suspended or deactivated users.
(Source: Atlassian Support Documentation, "Advanced searching - functions reference")
Additional Notes:
The query can be tested inIssues > Search for issuesand saved as a filter if needed.
inactiveUsers()is specific to Jira Cloud and includes users who are deactivated or removed from the organization.
Ensure the user running the query hasBrowse Projectspermission for the relevantprojects.
[:, Atlassian Support Documentation:Advanced searching - functions reference, Atlassian Support Documentation:Advanced searching - fields reference, Atlassian Support Documentation:Advanced searching - operators reference, Atlassian Support Documentation:Search for issues using JQL, , , ]
Submit