This guide is based on Automation Lite for Jira provided by Code Barrel Pty Ltd. Please make sure that Automation Lite for Jira plugin is installed in your Jira first.
Prerequisites
"Save checklist data to Jira custom fields" option must be enabled in Issue Checklist Global Settings.
Step by step guide
- Create a new rule in Automation plugin (go to Project Settings > Project automation and click Create rule button)
- Select "Issue Transition" as a trigger and next choose source and destination statuses (details of transition)
- Select Action as the next step and choose "Edit Issue" from the list of actions
- Select Checklist Content YAML (or Checklist Text) field on the next screen
- Provide details for the custom field update as presented on the screenshot, i.e.:
- Checklist Content YAML (or Checklist Text) field ID in the double curly braces in order to insert existing checklist (check how to find custom field ID)
New checklist items that you want to append, e.g.:
Example TextAcceptance criteria 1 Acceptance criteria 2
Example YAML- text: 'Acceptance criteria 1' checked: false - text: 'Acceptance criteria 2' checked: false
If you want to replace/overwrite checklist, then remove custom field ID in curly braces from the first line. Additionally, for YAML only, put "items:" phrase in the first line. Read more.
Save the rule and test your setup (transition an issue and spot the checklist updated).
Please refresh the issue page after the transition to see the checklist. It usually takes a few seconds until the checklist gets updated.