How to change value of "Request participants"?

Hailin Zhang June 14, 2016

Hi, 

This is a new global custom issue introduced by JIRA service desk 3. While I cannot see any why to change it value in SIL. None of below works:

customfield_19071 = currentUser(); \\custom field id of Request participants
Requestparticipants= currentUser();

 

Can you advise?

Thanks

1 answer

1 accepted

2 votes
Answer accepted
Hailin Zhang June 14, 2016

Figured out:

1. Go to SIL Custom Field Descriptors, change com.atlassian.servicedesk:sd-request-participants to "User[]->string[]"

2. Sil code:

string[] participants;
participants = arrayAddElement(participants,"user1");
participants = arrayAddElement(participants,"user2");
customfield_19071 = participants; //19071 is custom field ID of Request participants


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events