I need to create a post script function that creates a subtask for each person in a certain role.
The biggest piece I am having a problem with is getting the group of users from the custom field, then making them the issue assignee.
I tried writing my script myself and ended up with something sort of like this, this is code/pseudo code of what I need.
string SUMMARY = "Document ERB Assessment";
string[] users= customfield_12500
for(string user : users)
{
string issueKey = createIssue(project, key, "DOC ERB Assessment",SUMMARY[]);
%issueKey%.assignee = "user";
}