Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Show Custom Field if value from another Field is selected

jjgalea
Contributor
August 25, 2017

Hi,

On Issue creation, I have a Cascading Select custom field that has a set of Values.

I am trying to run a script where if the 1st drop down has "Paypal" selected, another customfield called "PayPal Payee" should be shown.

If "Paypal" is not selected, the field should remain hiddem

After I created the script below, when selecting "Paypal", the fields still remains hidden

I cannot understand what I am doing wrong. 

Can someone please help me solve this issue?

script.PNG

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Fabio Racobaldo _Catworkx_
Community Champion
February 9, 2022

Hi @Sambit Choudhury ,

using ScriptRunner you should be able to define a scripted listener associated to Issue Updated event (fired after an edit).

More information about scripted listener are available at the following URL https://scriptrunner.adaptavist.com/latest/jira/listeners.html#_custom_listeners

Hope this helps,

Fabio

TAGS
AUG Leaders

Atlassian Community Events