Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Current »

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 PROGRESSFIELD REQUIRED

"Smart Checklist Progress" ~ "-Done"

Issues with ALL completed checklists
SMART CHECKLIST PROGRESSFIELD REQUIRED

"Smart Checklist Progress" ~ "Done"

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

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

Issues where all checklist items are open (unchecked)
NO FIELDS REQUIRED

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

Issues where there is at least one open checklist item
NO FIELDS REQUIRED

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

Issues where all checklist items are completed
NO FIELDS REQUIRED

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

🗒 Search by checklist items:

JQL Search option

You type

Search for checklists containing specific items
CHECKLISTS FIELD REQUIRED

"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 FIELD REQUIRED

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

Search by number of items
NO FIELDS REQUIRED

issue.property[SmartChecklist].totalChecklistItems > 5

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

Search by not empty or empty checklists CHECKLISTS FIELD REQUIRED

"Checklists" is not EMPTY

or

"Checklists" is EMPTY

Search by a specified due date
NO FIELDS REQUIRED

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
NO FIELDS REQUIRED

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
NO FIELDS REQUIRED

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

Search by any user
NO FIELDS REQUIRED

issue.property[SmartChecklist].assignees ~ UserId

☝🏼 Note: don’t use “@” symbol

Search by custom mention
NO FIELDS REQUIRED

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 IN PROGRESS or TODO 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! 🚀


📫 Don’t hesitate to get in touch with us for any questions or feature requests!

  • No labels