I'm using ScriptRunner for Jira Cloud.
I set up a post-function to create a subtask upon transition. I would like to be able to choose the assignee from a list of current Jira users at the time the subtask is created (a drop-down list of all Jira users would suffice). I haven't been able to find anything like this in my searches. Can someone out there point me in the right direction or let me know whether this is not possible?
Separately, I've tried using the provided 'Must have Assignee' code, but that doesn't seem to do anything.
issue.fields.assignee != null
Thank you.