There are lots of examples about on how to add a request participant; I want to get an array of users FROM the request participant field so I can manipulate it.
I can get this far:
CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager();
def requestParticipantsField = customFieldManager.getCustomFieldObject("customfield_11832");
def requestParticipantList = sourceIssue.getCustomFieldValue(requestParticipantsField);
Is "requestParticipantList" an array? Or have I got this wrong?
Hello,
You can check it yourself. Try to add :
log.error("requestParticipantList class: " + requestParticipantList.getClass())
to the end of your script and have a look at the output in the atlassian-jira.log file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.