Hi All,
I am looking for some help to create a behavior in script runner which involves 2 fields.
when value of customfield 1 is "Yes", a certain number of options from customfield2 (Dropdown list) should be available.
When value of Customefield1 is "No", certain number of options from customfield2 must be visible.
How can this be achived?
Thanks!
Here you can find few scripts that you can combine and build your - https://docs.adaptavist.com/sr4jc/latest/features/behaviours/example-behaviour#example-scripts
Regards,
Seba
Thank you @Sebastian Krzewiński ,
I was using this function to test:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Leena,
I can confirm as per the documentation page here you must specify the opton Id's rather than names when calling setOptionsVisibility.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kristian Walker _Adaptavist_ , perfect, that worked. I will continue to build my script further.
Thanks a ton!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.