@SN -
Hi Sandra:
I believe you have an issue with the following lines -
"def smpTask = customFieldManager.getCustomFieldObjectByName("SMP Task")" and "if (supportTicketCategory.name == "Access")"
It should be "def smpTaskField", since you are using "smpTaskField" in your setRequired/setHidden lines at the end of your codes. Lastly, "supportTicketCategory.name" should be "supportTicketCategory.getValue()" and not ".name".
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
@SN -
Please post the error messages if you can. It is hard to know what is the problem with your codes in details with the errors messages.
Best, Joseph
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.