Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hi, i need to set s.

Edited

fgsdlswe

1 answer

1 vote

@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.

Can someone help me

@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
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,671 views 21 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you