Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is a common practice that user attributes like phone number, departments etc are synchronized from Active Directory into User Properties within Jira. 

To add some personal touch to your email signatures, you may want to include not only the email address, but these extra attributes as well.

Luckily you can access the user properties in your email templates. References to user properties by property name must be prefixed with "jira.meta." as the Jira API requires a fully qualified name of the property.

E.g. If the user has a property, called "phone", the phone property of the current user may be rendered as

Panel
titleExample
$!userPropertyManager.getPropertySet($!currentUser).getString("jira.meta.phone")

...

Redirect
filename
locationhttps://docs.meta-inf.hu/email-this-issue-for-jira-server-data-center/documentation/outgoing-emails/email-templates/adding-user-properties-to-emails

Thank you for visiting our old product documentation site. Note that we no longer store or update our documentation here.

Please navigate to our new documentation site and update your bookmarks accordingly. If you're looking for the former content of this page, click here.