How to change value of "Request participants"?

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
Accepted answer

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
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

188 views 4 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you