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.
Hi Ravi,
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. It is now available since version 7.1.0.
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!
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.