Forums

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

Hi, i need to set s.

SN October 21, 2021

fgsdlswe

1 answer

1 vote
Joseph Chung Yin
Community Champion
October 21, 2021

@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 October 21, 2021

hi

SN October 21, 2021

Can someone help me

Joseph Chung Yin
Community Champion
October 22, 2021

@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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events