Forums

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

Behaviour plugin: Show/Hide customfield in Create screen depending on the value of a cascading select list

Begoña Bonet
Contributor
November 26, 2015

In creation screen I need to show or hide a customfield depending on the value selected by user in a cascading select list.

 

I've included this script but it doesn't works:

if(getActionName() == "Create" && getFieldByName("Área/Subárea").getValue()=="Proyectos,Proyectos menores"){

      getFieldByName("Es menor").setHidden(true);

    }

if(getActionName() == "Create" && getFieldByName("Área/Subárea").getValue()!="Proyectos,Proyectos menores"){

      getFieldByName("Es menor").setHidden(false);

    }      

What am I doing wrong?

 

Thanks in advance

 

1 answer

2 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 29, 2015

JIRA Agile needs to have the same number of users as JIRA. Agile is an add-on for JIRA. Stash can have separate number of users.

Sounds like 100 users for JIRA, JIRA Agile and 25 for Stash.

Suggest an answer

Log in or Sign up to answer