> For the complete documentation index, see [llms.txt](https://titanapps.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://titanapps.io/docs/smart-checklist/jql-and-search-posibilities/search-checklist-with-jql.md). Agents can also search and read this documentation through its [MCP server](https://titanapps.io/docs/~gitbook/mcp).

# Search Checklist with JQL

Search Jira checklist data with JQL: find issues by checklist progress, item text, status, due date, assignee or mention, with copy-ready query examples.

Smart Checklist supports JQL as an approach for searching checklist items values and checklist progress 🚀

{% hint style="info" %}
To use this functionality, you may refer to either the **Checklists** or **Smart Checklist Progress** custom field.
{% endhint %}

## Overview

Smart Checklist data is stored in custom fields and issue properties, making checklist information searchable through JQL.

* You can use Smart Checklist's dedicated search functions – simply start typing **"Smart Checklist"** in the JQL editor to see the list of available functions.
* Alternatively, you can search using the **Checklists** or **Smart Checklist Progress** custom fields, or the **Smart Checklist** issue property.

<div align="left"><figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FmonICEvY8u3ADdBSkAGO%2Fgif%20(25).gif?alt=media&amp;token=2f26f8e7-86fe-497c-8633-bb4201e38dc1" alt="" width="375"><figcaption></figcaption></figure></div>

### JQL search examples

#### Search by checklist progress

<table><thead><tr><th width="310.19921875">JQL Search option</th><th>JQL query</th></tr></thead><tbody><tr><td>Issues with opened checklists (not all checklist items completed)</td><td><code>"Smart Checklist Progress" ~ "-Done"</code></td></tr><tr><td>Issues with ALL completed checklists</td><td><code>"Smart Checklist Progress" ~ "Done"</code></td></tr><tr><td>Issues where there is at least one completed (checked) checklist item</td><td><code>SmartChecklistHasClosedItems = "true"</code><br><code>issue.property[SmartChecklist].hasClosedChecklistItems = 'true'</code></td></tr><tr><td>Issues where all checklist items are open (unchecked)</td><td><code>SmartChecklistHasClosedItems = "false"</code><br><code>issue.property[SmartChecklist].hasClosedChecklistItems = 'false'</code></td></tr><tr><td>Issues where there is at least one open checklist item</td><td><code>SmartChecklistHasOpenItems = "true"</code><br><code>issue.property[SmartChecklist].hasOpenChecklistItems = 'true'</code></td></tr><tr><td>Issues where all checklist items are completed</td><td><code>SmartChecklistHasOpenItems = "false"</code><br><code>issue.property[SmartChecklist].hasOpenChecklistItems = 'false'</code></td></tr></tbody></table>

#### Search by checklist items

<table><thead><tr><th width="314.65234375">JQL Search option</th><th>JQL query</th></tr></thead><tbody><tr><td>Search for checklists containing specific items</td><td><code>"Checklists" ~ "your item value"</code><br>or<br><code>"cf[Checklists CustomFieldID] ~ "your item value"</code></td></tr><tr><td>Search for an exact phrase in the checklist items or exact checklist items</td><td><code>"Checklists" ~ "\"your item value\""</code><br>or<br><code>cf[Checklists CustomFieldID] ~ "\"your item value\"</code></td></tr><tr><td rowspan="2">Search by number of items/headers</td><td><code>SmartChecklistTotalCount > 5</code><br><code>SmartChecklistHeaderCount > 5</code><br><code>issue.property[SmartChecklist].totalChecklistItems > 5</code></td></tr><tr><td><strong>☝🏼 Note:</strong> Available operators could be used: >, >=, &#x3C;, &#x3C;=, =, !=.</td></tr><tr><td>Search by not empty or empty checklists</td><td><code>"Checklists" is not EMPTY</code> or <code>"Checklists" is EMPTY</code></td></tr><tr><td>Search by a specific priority</td><td><code>Checklists ~ "\"[priority]='High/Medium/Low'\""</code></td></tr><tr><td>Search by a specific due date</td><td><code>SmartChecklistItemDueDate = 'YYYY-MM-DD'</code></td></tr><tr><td rowspan="2">Search by a specific date mention</td><td><code>SmartChecklistItemDate = 'YYYY-MM-DD'</code><br><code>issue.property[SmartChecklist].itemsDates = 'YYYY-MM-DD'</code></td></tr><tr><td><p><strong>☝🏼 Note:</strong> Available operators could be used: >, >=, &#x3C;, &#x3C;=, =, !=.<br><br>Allowed formats for JQL: <code>'YYYY-MM-DD' or 'YYYY/MM/DD'</code><br><br>Allowed format for data records in checklist items: <code>'YYYY-MM-DD'</code> </p><p>Date format used in JQL search should match the date format in the checklist item.</p></td></tr><tr><td rowspan="2">Search by checklist items in the particular status</td><td><code>SmartChecklistItemStatus ~ 'ToDo'</code><br><code>issue.property[SmartChecklist].itemsStatus ~ 'Todo'</code></td></tr><tr><td><strong>☝🏼 Note:</strong> 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 <strong>insensitive</strong>, so DONE, Done, or done will return the same results.</td></tr><tr><td rowspan="2">Search by particular checklist items in the particular status</td><td><code>issue in checklistItemStatus("Item Content", "Done")</code></td></tr><tr><td><strong>☝🏼 Note:</strong> The query returns all the issues where there is the particular checklist item in specified status. Search works only for an exact match of the value in <code>"Item Content"</code> To search for the same item in different statuses use OR operator: <code>issue in checklistItemStatus("Item Content", "Todo") or issue in checklistItemStatus("Item Content", "Done")</code> Text is case <strong>sensitive</strong>, so only Done, Todo, Skipped, In Progress will return the same results.</td></tr></tbody></table>

#### Search by checklist assignees

<table><thead><tr><th width="317.51953125">JQL Search option</th><th>JQL query</th></tr></thead><tbody><tr><td>Search by assignee</td><td><code>SmartChecklistItemAssignee ~ "&#x3C;userId>"</code><br><code>Checklists ~ "\"[assignee]='&#x3C;userId>'\""</code></td></tr><tr><td>Search by user mention</td><td><code>SmartChecklistItemUser ~ UserId</code><br><code>issue.property[SmartChecklist].assignees ~ UserId</code><br><code>issue.property[SmartChecklist].assignees ~ HRTeam (or your custom mention)</code></td></tr></tbody></table>

#### Combine JQL clauses for accurate searches

<table><thead><tr><th width="114.16796875">Operator</th><th width="269.6640625">JQL Search option</th><th>You type</th></tr></thead><tbody><tr><td rowspan="5"><strong>AND</strong></td><td>Search for not competed checklists with specific number of items</td><td><code>"Smart Checklist Progress" ~ "-Done" AND issue.property[SmartChecklist].totalChecklistItems > 5</code></td></tr><tr><td>Search for not competed checklists with a specific date mention</td><td><code>"Smart Checklist Progress" ~ "-Done" AND issue.property[SmartChecklist].itemsDates = '2022-11-11'</code></td></tr><tr><td>Search for not completed checklists which contains specific items</td><td><code>"Smart Checklist Progress" ~ "-Done" AND "Checklists" ~ "your item value"</code></td></tr><tr><td>Search for checklists with mentioned current logged user and due date</td><td><code>issue.property[SmartChecklist].assignees ~ currentUser()</code><br><code>AND issue.property[SmartChecklist].itemsDates = '2023-08-01'</code></td></tr><tr><td>Search for checklists with items in the particular status and date mention</td><td><code>issue.property[SmartChecklist].itemsStatus ~ 'Todo' AND issue.property[SmartChecklist].itemsDates = '2023-08-01'</code></td></tr><tr><td rowspan="4"><strong>OR</strong></td><td rowspan="2">Search for checklists with items in particular statuses</td><td><code>issue.property[SmartChecklist].itemsStatus ~ 'Todo' OR issue.property[SmartChecklist].itemsStatus ~ 'In progress'</code></td></tr><tr><td>will return checklists that includes items with <code>IN PROGRESS</code> or <code>TODO</code> statuses</td></tr><tr><td rowspan="2">Search for checklists with mentions of current logged user and somebody else</td><td><code>issue.property[SmartChecklist].assignees ~ currentUser()</code><br><code>AND issue.property[SmartChecklist].assignees ~ UserId</code></td></tr><tr><td>will return checklists that includes mentions of the current logged user or somebody else</td></tr></tbody></table>

{% hint style="warning" icon="hand-point-up" %}
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 checklist items are found based on the search criteria (one contains the date, another is in needed status, another one has the assignee) - the Issue will be returned in the search results.
{% endhint %}

{% hint style="info" %}
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&#x20>;
{% endhint %}

Hope everything works for you! 🚀


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://titanapps.io/docs/smart-checklist/jql-and-search-posibilities/search-checklist-with-jql.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
