Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Tip |
---|
You can prevent the Jira issue from transition to the next state if not all Smart Checklist items are checked. That's done by validating |
...
Warning |
---|
Not available in next-gen projects. Please see the details here. |
Info |
---|
This instruction describes process of setting up validator for CLOUD and SERVER instances. Read carefully which one you are trying to set up. Process is pretty straightforward and covers:
|
Let's go through the steps.
Create "Smart Checklist Progress" custom field.
Warning |
---|
Make sure you don't have this field on your Jira instance yet |
...
Choose "TextField (single line)
...
Set up transition validator for CLOUD Instances (read about Server below)
...
the
|
Info |
---|
RequiresSmart Checklist Progress Custom Field→ "Smart Checklist Progress" Custom Field set up |
Panel | ||
---|---|---|
| ||
☝🏼 NOTE: Not available in Next-Gen projects. Workflow customization isn't available yet for Next-Gen projects. As of now, it is on the longer-term roadmap of the Atlassian team. Therefore, transition validators are not available either. |
Set up Validator
Go to Project Settings → Workflows
Choose the Workflow you want to add validation to and click Edit:
...
Add Validator
3.1. Choose transition and click on
...
the Validators
...
link:
...
3.2. Add Validator:
...
3.3. Choose
...
Regular Expression Check
...
and click Add:
...
3.4. Choose "Smart Checklist Progress" field and set Regular Expression value to:
...
Regular Expression |
...
👉🏻 |
|
...
3.5. Click Add - a new Validator will be saved:
...
...
4. Then Publish this changed workflow:
...
Check Validator in action
...
Go to
...
your project Board.
Try to change the state of an item with opened checklist items.
You'll get
...
the error:
...
If you check all Smart Checklist items - you'll be able to
...
transition the Jira issue successfully:
...
Set up transition validator for Server Instances (read about Server below)
- Go to Workflows
- Choose one that you want to add validation to and click Edit
- Choose transition and click on "Validators" link
- Add Validator
- Choose "All Smart Checklist items are checked off"
- Click Add - new Validator will be saved
- Then Publish this changed workflow
Check Validator in action. SERVER Instances
- Go to Kanban board (or Issue view)
- Try to change state of an item with opened checklist items
- You'll get an error:
- If you check all Smart Checklist items - you'll be able to transition Jira issue successfully!
If you want to know how to display "Show Checklist progress" on Agile boards read Progress on Agile Board
...
Hope everything works for you! 🚀
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|