You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am on jira server, using Scriptrunner-behaviours and checklist for jira addon on my environment.
We need dynamic checklist which means checklist items changes based drop-down value selection.
single select drop-down field selectchecklist has two values a and 1.
I have create check list field checklistA and deleted options from it to make it empty.
when a is selected checklistA should have three checkitems a, b and c and when 1 is selected checklistA should have three checkitems 1,2 and 3.
Developer of "Checklist for Jira" here.
Unfortunately, the Checklist custom field cannot be modified live on the client-side by Scriptrunner Behaviours. We have tasks on our backlog to investigate the possibilities.
You could instead use listeners to populate the Checklist once the issue is saved (created or updated). You can refer to the following documentation page: Updating checklist when a field changes value.
There is also the alternative to use our workflow post function to add items during a transition. For example, adding items during the "Create" transition of the issue. You can refer to the following documentation page: Adding new checklist items during a transition.
There are even more ways to modify checklists, like Automation for Jira and SIL Scripts. The caveat is that all methods will change the field's value after an issue has been saved or transitioned. There is currently no supported way to modify the field value live on the client.
I hope this information helps you engineer your automation!