Hi all,
We are using JIRA Cloud and Script Runner. How I can extract display name of assignee of task in post-function? I need to put it to task summary later.
Thank you in advance for the answers!
Hi Pavel,
The display name of the assignee should be available like this:
def assigneeName = issue.fields.assignee?.displayName
The question mark is there in case assignee is not set yet, in which case the code will not throw an error, but assigneeName will be null.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.