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.
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.