Setting Custom Field (drop down list) based on issue type Script Runner

In the workflow I am creating subtasks whenever a parent task is open automatically and setting values of custom fields in the subtasks.... however I'd like to be able to set a drop down in the parent task when Issue Type is equal to <whatever>.

Said parent task won't have a SubTask created... (though in the future it may)

But basically,

Parent Task created > Issue Type Selected TRIGGERS <MyCustomField> to be set to <MyCustomDropDownOption>

The rest of the fields are manually set

Any ideas where and how to set this?

1 answer

1 votes
Eddie Webb Community Champion Aug 22, 2013

Yes, you can use another excellent plugin from Jamie (same author as Script RUnner) the JIRA Behaviors Plugin -


Makes it trivial to set one field based on another right from the workflow config.

I'll play with this tomorrow... just installed it.

From desc sounds excellent!

Already has another feature I was wanting to implement but just accepted I couldn't "mandatory based on other fields"


Thanks Eddie

And Jamie.

Hey, so I started looking at this plugin today.

I'm not rally sure how to use it to do what I want. The documentation has some exmaples but they aren't what I'm looking for and I'm not sure how to modify to make it work for me.

Can you help me out a little with it?

In a parent task....

When issuetype ="x"

then set customfield1 = "y"

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot