You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
I have problem with showing/hiding fields based on value chosen in previous field.
I found similar questions on this forum, but every solution that I tried failed. Perhaps its problem with Jira Service Desk version? We're using version 4.6.0 .
We want to have field 'Vrsta poizvedbe' with few options. When option 'Duplikat is chosen' by costumer on portal field 'Datum predvidenega vračila' is shown.
Otherwise is hidden. Its like cascadingValues is not 'Duplikat'. Is there a way to see what is in this field than?
Please help.
You have to put the serer-side script on the trigger field, not the target field.
So in this case, add the script to 'Vrsta poizvedbe'
def valuesToCauseHiding = ['Duplikat']
def fieldsToHide = ['customfield_12629']
def triggerField = getFieldById(getFieldChange())
def triggerValue = triggerField.value
fieldsToHide.each{fieldId->
def fieldToHide = getFieldById(fieldId)
fieldToHide.setHidden(triggerValue in valueToCauseHiding)
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.