When I use
Version1: #renderCustomField($!issue, 'customfield_10138')
in JETI template, I get The user fullname plus its avatar. What I need is to show the email address of the user in this custom field. How can I achieve this?
#renderCustomField($!issue, 'customfield_10138').emailAddress returns empty string plus ".emailAdress". I'm lost! :)
By the way $!issue.getCustomFieldValueAsObject('customfield_10138').displayName doesn't work either (it's empty).
Any help would be much appreciated!
So I got the answer from META-INF Service Desk:
On cloud, the method is slightly different: $!issue.getCustomFielValue("customfield_12345").getUserValue().email
Hope it saves others a few hours of headache! :)
Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events