Swift Checklist offers JQL Search functionality. Presently, you have the ability to search for issues based on checklist state and item assignee.
Checklist state searches
The checklist state is determined by aggregating the states of all checklist items. For instance,
Checklist | State |
---|---|
Checklist was never added to the issue | null |
Checklist has no items | empty |
Checklist has items, but non of them are checked | not_started |
At least item is checked and at least one item is unchecked | in_progress |
All items are checked | done |
Examples of Checklist State Searches
Code Block |
---|
swiftChecklistProgressState = null |
Search for Jira issues where the checklist was never added.
Code Block |
---|
swiftChecklistProgressState = empty |
Search for all Jira issues where the checklist was added but has no items.
Code Block |
---|
swiftChecklistProgressState = not_started |
Search for all Jira issues where the checklist has items but none of them are checked.
Code Block |
---|
swiftChecklistProgressState = in_progress |
Search for all Jira issues where the checklist has at least one checked and at least one unchecked item.
Code Block |
---|
swiftChecklistProgressState = done |
Search for all Jira issues where the checklist has all items checked.
Code Block |
---|
issue.property['swiftChecklist'].progress.state = done |
Perform the same searches as above but using the issue property instead of the JQL alias.
Checklist assignee searches
You can search for issues that have unchecked checklist items assigned to some user.
Examples of Checklist Assignee Searches
Code Block |
---|
swiftChecklistAssignees = currentUser() |
Search for all Jira issues where the checklist has unchecked items assigned to the current user.
Code Block |
---|
swiftChecklistAssignees = <User from dropdown> |
Search for all Jira issues where the checklist has unchecked items assigned to the selected user.
Code Block |
---|
swiftChecklistAssignees is NOT EMPTY |
Search for all Jira issues where the checklist has unchecked items assigned to any user.