Smart Checklist supports JQL as an approach for searching checklist items values and checklist progress πŸš€

To use this functionality you may need to set up "Checklists" or "Smart Checklist Progress" custom field. It depends on what main criteria you'd like to search for.

Contents πŸ‘‡πŸ»

Guide to set up custom fields:

🏒 Company-managed projects:

πŸ‘₯ Next-gen projects:

☝🏼 NOTE: If you are using the next-gen project, make sure that the added custom fields has a global context. To add global context to your custom fields, follow the official Atlassian guide.

Search examples:

πŸ“Š Search by checklist progress:

JQL Search option

JQL query

Issues with opened checklists (not all checklist items completed)

"Smart Checklist Progress" ~ "-Done"

Issues with ALL completed checklists

"Smart Checklist Progress" ~ "Done"

Issues where there is at least one completed (checked) checklist item

issue.property[SmartChecklist].hasClosedChecklistItems = 'true'

Issues where all checklist items are open (unchecked)

issue.property[SmartChecklist].hasClosedChecklistItems = 'false'

Issues where there is at least one open checklist item

issue.property[SmartChecklist].hasOpenChecklistItems = 'true'

Issues where all checklist items are completed

issue.property[SmartChecklist].hasOpenChecklistItems = 'false'

πŸ—’ Search by checklist items:

JQL Search option

You type

Search for checklists containing specific items

"Checklists"Β ~ "your item value"
or
"cf[Checklists CustomFieldID]Β ~ "your item value"

Search for an exact phrase in the checklist items or exact checklist items

"Checklists"Β ~ "\"your item value\""
or
cf[Checklists CustomFieldID]Β ~ "\"your item value\"

Search by number of items

issue.property[SmartChecklist].totalChecklistItems > 5

☝🏼 Note: Available operators could be used: >, >=, <, <=, =, !=.

Search by not empty or empty checklists

"Checklists" is not EMPTY

or

"Checklists" is EMPTY

Search by a specified due date

issue.property[SmartChecklist].itemsDates ~ '2022-11-11'

☝🏼 Note:
Allowed formats: YYYY-MM-DD, YYYY/MM/DD, DD/MM/YYYY, DD-MM-YYYY.

Date format used in JQL search should match the date format in the checklist item.

If you are searching for a date: '2022-11-11', it will only match for '2022-11-11', not for '2022/11/11', '11/11/2022' or any other.

Search by checklist items in the particular status

issue.property[SmartChecklist].itemsStatus ~ 'Todo'

☝🏼 Note:
The query returns all the issues where there is at least one checklist item in Todo status.

Use default status (Todo, Done, Skipped, and In Progress) or custom statuses.

Text is case insensitive, so DONE, Done, or done will return the same results.

πŸ™‹πŸ½β€β™‚οΈ Search by checklist assignees:

JQL Search option

You type

Search by currently logged user

issue.property[SmartChecklist].assignees ~ currentUser()

Search by any user

issue.property[SmartChecklist].assignees ~ UserId

☝🏼 Note: don’t use β€œ@” symbol

Search by custom mention

issue.property[SmartChecklist].assignees ~ HRTeam (or your custom mention)

πŸš€ JQL combinations for more accurate searches:

Operator

JQL Search option

You type

AND

Search for not competed checklists with specific number of items

"Smart Checklist Progress" ~ "-Done" AND issue.property[SmartChecklist].totalChecklistItems > 5

Search for not competed checklists with a specific due date

"Smart Checklist Progress" ~ "-Done" AND issue.property[SmartChecklist].itemsDates ~ '2022-11-11'

Search for not completed checklists which contains specific items

"Smart Checklist Progress" ~ "-Done" AND "Checklists"Β ~ "your item value"

Search for checklists with mentioned current logged user and due date

issue.property[SmartChecklist].assignees ~ currentUser()
AND issue.property[SmartChecklist].itemsDates ~ '2023-08-01'

Search for checklists with items in the particular status and due date

issue.property[SmartChecklist].itemsStatus ~ 'Todo' AND issue.property[SmartChecklist].itemsDates ~ '2023-08-01'

OR

Search for checklists with items in particular statuses

issue.property[SmartChecklist].itemsStatus ~ 'Todo' OR issue.property[SmartChecklist].itemsStatus ~ 'In progress'

will return checklists that includes items with or statuses

Search for checklists with mentions of current logged user and somebody else

issue.property[SmartChecklist].assignees ~ currentUser()
AND issue.property[SmartChecklist].assignees ~ UserId

will return checklists that includes mentions of the current logged user or somebody else

☝🏼 NOTE: If you use combinations of search options (for dates, assignees and statuses) - search will be done for the whole checklist not for the specific checklists items. If checklists items are found based on the search criteria (one contain date, another is in needed status, another has assignee) - the issue will be returned in the search results.

NOTE: At this moment, searching for Jira issues where a specific checklist item has completed/ incompleted status is unavailable.Β  This happens due to the following limitation:Β Jira does not index the special character of - and +.Β 

Special characters

+ - & | ! ( ) { } [ ] ^ ~ * ? \ :

Special characters aren't stored in the index, which means you can't search for them. The index only keeps text and numbers, so searching for "\\[Jira Software\\]"Β andΒ "Jira Software"Β will have the same effect - escaped special characters ([]) will be ignored in the search.

Source:Β https://confluence.atlassian.com/jirasoftwareserver0712/search-syntax-for-text-fields-959315338.html

Hope everything works for you! πŸš€