Need to cascade between two custom fields


Here is my detailed requirement,

I have two custom field namely

1."RYG" with dropdown values Red, Yellow, Green.

2. "Overall Status"

Now if i select Red in "RYG" custom field Action Required value should appear in "Overall Status" custom field.

Same way if i select Yellow -> Monitor and if i select Green -> On Track values should appear.

Is there any way way/scripts to achieve this. If you any scripts please share.

JIRA version 6.3.15


Thanks in Advance,


1 answer

1 accepted

0 votes
Accepted answer

Hi Nandeesh,

you can use a behaviour for this purpose.Please install ScriptRunner for JIRA ( and setup the following behaviour  on RYG custom field :

FormField ryg = getFieldByName("RYG")
FormField overallStatus = getFieldByName("Overall Status")
def rygValue = ryg.getValue()
   		overallStatus.setFormValue("Action Required")
	} else if(rygValue.equals("Yellow")) {
	} else if(rygValue.equals("Green")) {
   		overallStatus.setFormValue("On Track")

Hope this helps,


Hi Fabio, Kudos to you. it worked perfectly. Many thanks for your kindly help :) Thanks, Nandeesh

You're welcome :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,712 views 17 21
Read article

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