> 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/jira-automations-and-integrations/jira-workflows/validate-mandatory-items-completion-per-checklist-header-tab.md). Agents can also search and read this documentation through its [MCP server](https://titanapps.io/docs/~gitbook/mcp).

# Validate Mandatory Items Completion per Checklist Header/Tab

Block a Jira transition until the mandatory items of one checklist header or tab are completed by adding the All mandatory items per header/tab completed validator to the workflow.

{% hint style="success" %}
Make sure the required steps of one checklist stage are done before an issue moves on by adding the **All mandatory items per header/tab completed** validator to the workflow transition. Jira blocks the transition while a mandatory item under the named header or tab is still open, so the team completes what matters for that stage and keeps the optional items and the other sections flexible.
{% endhint %}

{% hint style="info" icon="user-shield" %}
To edit a workflow in a company-managed project, you need **Jira Admin** permission. To edit a workflow in a team-managed project, you need **Project Admin** permission.
{% endhint %}

## Overview

Smart Checklist adds the **All mandatory items per header/tab completed** validator to the Jira workflow editor. You add it to a transition and name the header or tab it checks, for example Definition of Done on the transition to Ready for Testing. When someone moves an issue through that transition, Jira checks the mandatory items under that header or tab, including nested sub-headers: if every one of them has a completed status, such as Done or Skipped, the issue moves on, even if optional items in the section or items in other sections are still open. If a mandatory item in the section is still open, Jira blocks the transition and shows a message that explains why: the default message or a custom message you set in the validator.

* ✅ **Definition of Done.** The issue moves to Ready for Testing only when the mandatory items under the Definition of Done header are completed.
* 🐞 **QA checklist.** The issue moves to Ready for Release only when the required checks in the QA checklist tab are passed.

{% hint style="info" icon="book-open" %}
A mandatory item is a checklist item with a red asterisk next to its checkbox. Mark an item as mandatory from its **⋮** menu on the issue, or start the item with `-!` in the checklist editor or in a template. Learn how: [Mandatory Checklist Items](https://titanapps.io/docs/smart-checklist/working-with-checklists/mandatory-checklist-items.md)
{% endhint %}

{% hint style="info" icon="book-open" %}
Learn how to structure a checklist with headers [Checklist Headers](https://titanapps.io/docs/smart-checklist/working-with-checklists/checklist-headers.md) and with tabs [Checklist Tabs](https://titanapps.io/docs/smart-checklist/working-with-checklists/checklist-tabs.md)
{% endhint %}

## Add the validator to a transition

You can add the validator to any transition of the workflow.

1. Go to **Project settings** → **Workflows** and click **Edit workflow** next to the workflow of the project.

<div align="left"><figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FoTCn8K39mXgjHmY2y9hP%2Fworkflows.png?alt=media" alt="Project workflows page with the Edit workflow action highlighted" width="563"><figcaption><p>Edit workflow</p></figcaption></figure></div>

2. Select the transition, for example the transition to In Progress, and click **+** next to **Validate details**.

<div align="left"><figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FVsWwhUvsFJtYoOGignMW%2Ftransition.png?alt=media" alt="Workflow editor with the transition to In Progress selected and the + button next to Validate details highlighted" width="563"><figcaption><p>Add a validator to the transition</p></figcaption></figure></div>

3. Select **All mandatory items per header/tab completed (Smart Checklist)** and click **Select**.

<div align="left"><figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FZGBbdGihp5op4F9sC7m0%2Fpicker.png?alt=media" alt="Add rule dialog with the All mandatory items per header/tab completed (Smart Checklist) validator highlighted" width="563"><figcaption><p>The All mandatory items per header/tab completed validator</p></figcaption></figure></div>

4. In **Header/tab name**, enter the name of the header or tab exactly as it appears in the checklist, without the `#` symbol. Enter a **Custom message** that users see when the transition is blocked, or leave the field empty to use the default message, and click **Add**.

<div align="left"><figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FCbH20Wja1eQ1jLqHKQj9%2Fconfig.png?alt=media" alt="Validator settings with the Header/tab name and Custom message fields and the Add button highlighted" width="563"><figcaption><p>Header/tab name and custom message of the validator</p></figcaption></figure></div>

5. Click **Update workflow**.

<div align="left"><figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FabAKjB2uNjvaKtfM6B17%2Fupdate.png?alt=media" alt="Workflow editor with the validator added to the transition and the Update workflow button highlighted" width="563"><figcaption><p>Update workflow</p></figcaption></figure></div>

From now on, Jira blocks the transition on every issue of the workflow while a mandatory item under the named header or tab is open.

## Test the validator

You can check the validator on any issue with an open mandatory item under the header or tab.

1. Open an issue with an open mandatory item under the header or tab and move it through the transition, for example to In Progress, from the board or from the issue view.
2. Jira keeps the issue in its status and shows the validator message. Complete the mandatory items of the section and move the issue again.

<div align="left"><figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FTyXjpF3ZCEQwIMimSIof%2Fblocked.png?alt=media" alt="Transition failed message on the issue with the custom text of the All mandatory items per header/tab completed validator" width="375"><figcaption><p>Transition blocked while a mandatory item of the Definition of Ready is open</p></figcaption></figure></div>


---

# 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/jira-automations-and-integrations/jira-workflows/validate-mandatory-items-completion-per-checklist-header-tab.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.
