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.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline 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.