You might find Smart Checklist integration with ScripRunner useful for updating checklists using automated scripts. Below you can find the example of adding a checklist to a Jira Issue by means of updating Issue Property with the key
Set Checklist depending on Custom Field Value after Issue Creation
If you want the specific Checklist appended to your newly created ticket depending on the other Custom field value - you can easily do it by adding Script Runner Post Function to your Create Ticket workflow transition.
Check it out!
Assume that you have a custom field named "Environment" with 2 values: Production/Staging. So you expect that while adding a new issue - you'll have a proper checklist assigned.
- Go To Workflow Editor
- Choose "Run Script" (Run arbitrary code on transition)
Add inline Script
- Variables checklistProd and checklistStage used for keeping the proper value of the checklist (in text format)
- Save the script
- Publish workflow