We have a new documentation site. Please go here to see the latest.
Modify checklist on issue transition
Introduction
This page describes how to modify Checklist during issue transition (i.e. when issue is being moved to a different state in the workflow).
This feature allows to accomplish following example scenarios:
Add / Replace checklist with new one when issue is transitioned
Clear Checklist when issue is being resolved.
Add new Checklist items when issue is transitioned, (e.g. you can add testing notes/items to the Checklist when issue goes to QA state).
Add / Replace checklist on transition
We will use "Update Issue Custom Field" post function to modify "Checklist Text" custom field.
Prepare the Checklist that you want to add at certain workflow step:
Add checklist to the issue.
Copy checklist to the clipboard from Editor. We will use the copied value later.
Edit your workflow transition (the one that should modify Checklist) and add post function "Update Issue Custom Field":
Go to your JIRA/Project configuration.
Edit workflow and find your transition.
Add new post function "Update Issue Custom Field" and add new value for a "Checklist Text" field (paste the value copied in point 1)
Test your setup (move issue through the transition changed above and watch checklist items added to the issue)
Remove checklist on transition
Removing checklist can be achieved with "Clear Field Value" post function.
Append checklist on transition