Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Dynamic (Checklist for jira) items based on drop-down value selection (using behaviours)

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.

1 answer

0 votes
Maxime Lefebvre _Okapya_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 07, 2021

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.

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events