Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Scriptrunner Behaviour - Only show custom field option in Parent when creating a subtask

Kelvin Teng November 12, 2021

Hi all,

I am beginner in writing Scriptrunner Behaviour and wondering whether it is possible to achieve the scenario below with Behaviour Scripting. If yes, can someone assist to provide an example script?

We have a multi-select custom field called Use Case/Purpose. This field is populated when creating an Initiative issue type. Then automation will create Epic and Stories and inherit the selected option (including Use Case field option) from the Initiative.

Example, a user selected Option A, B, and C in Use Case/Purpose field and created the Initiative. When the user create a subtask in the Epic or Story within the same Initiative, Use Case field will only display Option A, B, and C as the selectable option.



1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 12, 2021
Kelvin Teng November 17, 2021

Hi Peter,

Thanks for the information. I've managed to make the behaviour to work with the provided resources.

AUG Leaders

Atlassian Community Events