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
Answer accepted

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 Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

392 views 6 0
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