Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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


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

Hi Peter,

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

186 views 7 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you