Hi all,
I'd like to add a custom field of assignee's email on the issue filter result list.
Is there any way to achieve it? I looked at the plugin "Script Runner" to see if it would have a function to make it work.
Any suggestion would be appreciated.
Thank you in advance.
Jaesang
ScriptRunner can do it.
Add a "scripted field" called something like "assignee email" (you don't have to put this on the issue screen to get this to work)
For the script, you need to read the assignee, get their email from the directory and return it. As plain text, this would be something like
return issue.getAssignee().getEmailAddress()
(This is from memory, you might want to check the API docs. And possible get a bit more clever with formatting, such as returning html, and using a mailto: prefix so the address can come out as a link)
Please bear in mind a lot of people don't want this exposed, and make sure you never plan to put your Jira out on the internet, as the addresses will be added to spam lists.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.