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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.