Forums

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

Custom field value hide/show on the baisis of value selection from other field in jira cloud

sujata birajdar
September 23, 2021

i Have jira cloud installed at my end . i have a requirement where i have two select list custom field "Initiative Type" and "Non-financial initiative type" , so on the basis of value selected in Initiative type, the field non-financial initiative type shouldhide or show it values. we have scriptrunner installed on JIRA cloud, but we dont know how to configure this as behaviour is not part of scriptrunner on jira cloud.

Any help would be highly appreciated.

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Alejandro Suárez García
Atlassian Partner
February 16, 2019

You are trying to compare a Option with a String

To fix that you have to use value.toString() or value.getValue() to convert the Option into String in your if-else statement.

Regards

TAGS
AUG Leaders

Atlassian Community Events