> 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/automation-for-jira/add-a-checklist-template-based-on-a-jira-issue-field-value.md). Agents can also search and read this documentation through its [MCP server](https://titanapps.io/docs/~gitbook/mcp).

# Add a Checklist Template based on a Jira Issue Field Value

Add a Jira checklist template when a Jira issue field value changes. Set up the rule in Automation for Jira with a template ID.

Add Smart Checklist Templates to your issues based on the Issue Filed Value ⚡️

{% hint style="info" %}
You can automatically add a checklist template on filed value change by setting template as default. Read more → [Set Checklist Template as Default](https://titanapps.io/docs/smart-checklist/checklist-templates/set-checklist-template-as-default.md)
{% endhint %}

### Automation action: Import Checklist Template

You can use the **Import Checklist Template** action in *Automation for Jira* to automatically import any Smart Checklist template into an issue.

You can automatically import **both Project and Global templates**, without limitations.

You can also add multiple actions to the same rule and arrange them in the required order if several templates need to be imported sequentially.

**Steps to setup automation rule:**

{% stepper %}
{% step %}
Go to Settings → Automation
{% endstep %}

{% step %}
Open an existing rule or click **Create rule** to start a new one
{% endstep %}

{% step %}
If you are creating a new rule

* [ ] Select and configure a **Trigger** (e.g. Field value changes).
* [ ] Add any required **Conditions**.
  {% endstep %}

{% step %}
When all conditions are set up, select **Add an action**
{% endstep %}

{% step %}
Search for **Import Checklist Template**

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FSpjOoZfGU9x7H5zbONln%2F63b2a52d-5047-4d50-8bd8-355bbbaddc80.png?alt=media&amp;token=f9fe7df9-fed1-4c72-900a-efcd113f6d72" alt="Import Checklist Template automation action" width="563"></div>
{% endstep %}

{% step %}
Click **Connect**

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2F9GcTwbip6UIi0YE2MJNE%2F13265833-a48a-43af-8dc4-15abef34dfcb.png?alt=media&amp;token=109b13ec-d132-4faf-b49a-f412576b80ab" alt="Connect Import Checklist Template action" width="563"></div>
{% endstep %}

{% step %}
In the **Template ID** field, enter the ID of the template you want to import

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FfAOiGgSQ3WWA7OuMzUnI%2F66629841-2516-45c2-941a-7d169abc69cb.png?alt=media&amp;token=cf15c47c-0859-473d-9c03-9606e36b0db6" alt="Set the Template ID" width="563"></div>
{% endstep %}

{% step %}
Name your rule, save it, and turn it on
{% endstep %}
{% endstepper %}

🎉 You're done! Now every time the automation rule is triggered, the checklist template will be imported.

### Automation via the Checklists custom field

{% hint style="warning" icon="hand-point-up" %}
Automating checklist templates via “Checklists“ custom field works **only with Project templates**. To import Global template, use “Import Checklist Template“ automation action → [Add a Checklist Template based on an Issue Field Value | Automation Action: Import Checklist Template new](#Automation-Action%3A-Import-Checklist-Template-new)
{% endhint %}

{% stepper %}
{% step %}
Go to Project Settings → Automation → click **Create rule**

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FuETTkmou8xjzERczzgI4%2F08eec227-e748-4ec0-85a9-a772643eef0c.png?alt=media&amp;token=ae86d7ea-53c6-4ab5-ab24-7be077d9da9b" alt="Automation in Project Settings" width="563"></div>
{% endstep %}

{% step %}
Create a trigger

* [ ] Choose **Field value changed**.
* [ ] Choose **a field or fields to monitor the changes** and **change type**.
* [ ] Click Next.

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FdLiFRyPRbrYmWATE1Yhm%2F8f8fb60e-c7eb-403c-beb8-70f5c20ccc34.png?alt=media&amp;token=3356a8fa-0def-431d-ac68-437b23664e14" alt="Field value changed trigger" width="563"></div>
{% endstep %}

{% step %}
Add the Issue Value you want to monitor

* [ ] Add component: **Add a condition**.
* [ ] Choose **the field you want to monitor**.
* [ ] Choose **the condition**.
* [ ] Type **value**.
* [ ] Click Next.

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FmvansK62XNtcdTwOTtuZ%2F64e6adf5-c8d1-4d44-b1fb-48560b02b81e.png?alt=media&amp;token=dbed2392-cc65-4195-b05b-94a096a7bee3" alt="Work item fields condition component" width="563"></div>

You are free to define your own Custom Value. In this case we will append the Template to the Smart Checklist if Issue contains the label with the ONBOARDING value 🙌🏻
{% endstep %}

{% step %}
Add a Checklist Template

* [ ] Add component: **Add an action**.
* [ ] Choose **Edit work item**.

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FN90KFCd2s5RoyB9yvVyJ%2Fbac9a97e-d6db-4223-aa6d-6813c966d255.png?alt=media&amp;token=db3965fb-44ac-4cce-bdea-9acc404c024e" alt="Edit work item action" width="563"></div>

* [ ] Select **Checklists** field.

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FMGUHMqaWG99lDEbiq1xv%2F4c539ad4-0676-40b3-9ee9-d748067ca2e3.png?alt=media&amp;token=2f7ff5ce-0a9e-4aec-9845-6c365c83e0ea" alt="Checklists field is selected" width="563"></div>

* [ ] Fill in the fields with one of the following values:

<table><thead><tr><th width="231.28515625"></th><th></th></tr></thead><tbody><tr><td>Choose fields to set</td><td><code>Checklists</code></td></tr><tr><td>If you want to <strong>append</strong> the template to the Smart Checklist 👉🏻</td><td><code>{{issue.properties."com.railsware.SmartChecklist.checklist"}} {{project.properties."com.railsware.SmartChecklist.templateId.&#x3C;Template_ID>"}}</code><br><br><i class="fa-book-open-lines" style="color:$info;">:book-open-lines:</i> <mark style="background-color:violet;">Read more about templates automation here →</mark> <a data-mention href="https://titanapps.io/docs/smart-checklist/checklist-templates/use-checklist-templates-in-jira-automation.md">Use Checklist Templates in Jira Automation</a></td></tr><tr><td>If you want to <strong>replace</strong> the Smart Checklist with the template 👉🏻</td><td><code>{{project.properties."com.railsware.SmartChecklist.templateId.&#x3C;Template_ID>"}}</code></td></tr></tbody></table>

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2FxCShhvR3EhAia7BybBVu%2Fimage-20250319-134143.png?alt=media&amp;token=9810412d-2f7c-4043-b8b3-8d6168686bbf" alt="Value for the Checklists field" width="563"></div>

* [ ] Put the ID of the Template you want to add instead of `<Template_ID>`.

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2Fw1WrY5Uy8vCnJWNthNJx%2Fimage-20250319-134509.png?alt=media&amp;token=228dc734-406a-45a5-96aa-07da4bfbcbf4" alt="Actual ID of the template instead of <Template_ID>" width="563"></div>

* [ ] Click Next.
  {% endstep %}

{% step %}
Name your new Automation and Turn it on

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2Fh9K2T0ivdTjHLhVmP2f5%2Fimage-20250319-134746.png?alt=media&amp;token=bd691ee4-bd33-4baa-82a5-7ef7d2a53ea0" alt="Name and turn on the rule" width="563"></div>
{% endstep %}
{% endstepper %}

You're done! Now every time an Issue contains the ONBOARDING label or other Issue Values - the proper template will be added to your Smart Checklist 🎉

### Find the template ID

To find the Template ID:

{% stepper %}
{% step %}
Open the Checklist Template you want to import and expand it
{% endstep %}

{% step %}
The Template ID appears next to the template name

<div align="left"><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2Fflt8VvGMOpdnjWZ2VbbB%2Fimage-20250319-121031.png?alt=media&amp;token=620fb275-c981-4d8b-abd5-efb0d38a122b" alt="Template ID" width="563"></div>
{% endstep %}
{% endstepper %}

If users will use the ID of the template they do not have access to, you will see an error in Audit log of the automation rule:

<figure><img src="https://992951308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBHNXzdcvYOkv2YMAfvI%2Fuploads%2Fh5mhIM4hkz4aJZ5tLEO6%2Fimage.png?alt=media&amp;token=b6c14537-f531-4bf2-a73c-42d2a2f8c7dd" alt=""><figcaption></figcaption></figure>


---

# 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/automation-for-jira/add-a-checklist-template-based-on-a-jira-issue-field-value.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.
