Show/Hide a field on the create screen in CUSTOMER PORTAL with scriptrunner behaviour

Deleted user December 4, 2018

Hi guys,

My following code in working when creating an issue with Jira UI:

def fieldToHide = getFieldByName("Oculto")
def urgencia = getFieldByName("Urgency")
def optionValue = urgencia.getValue().toString()

fieldToHide.setHidden(true)

if (optionValue == 'Critical') {
 fieldToHide.setHidden(false)
}

But it does NOT work when raising a request in JSD Customer Portal.

Note: both Oculto, and Urgency fields are visible in the request create screen.

Any idea how can I fix it, please?

I appreciate any help. Thanks in advance

Almu

 

1 answer

0 votes
Deleted user December 5, 2018

Hi there

Just for the record. It is mandatory to map Service Desk. Solved!

Cheers,

Almu

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events