Versions Compared

Key

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

If you are exporting a Single User Picker or Multiple Users Picker custom fields, you can output the Display Name using the fullname function:

${fullname:<Field name>}

If you are exporting a User Picker or Multiple Users custom field, you can output the email using the emailaddress function:

${emailaddress:<Field name>}

In order to do that, you must go to the JIRA Administration -> Issues -> Fields -> Custom Fields -> Add Custom Field. Choose User Picker (multiple users) as the type for one field, and name the first one MultiUserPicker and the second User Picker (single user) as the type, and name as Picker.

However, you can see here more details about formatting User Picker fields

Here you'll be going to be learn how to populate your Issue Assignee and Reporter on an Xporter generated file. The mappings in use will be:

Activity FieldsDescription
AssigneeUserNameThe issue assignee JIRA user name
fullname:AssigneeUserNameThe issue assignee Display Name output using the fullname function
emailaddress:AssigneeUserNameThe issue assignee email output using the emailaddress function
ReporterUserDisplayNameThe issue Reporter JIRA display name

If you want to export the fullname of your Assignee, you must put fullname before the field, and if you want to export the email address, you must put emailaddress before the field.

Code Block
titleExpand to see the sample code
collapsetrue
   ${AssigneeUserNamefullname:Picker}
   ${fullnameemailaddress:AssigneeUserNamePicker}
   ${emailaddressfullname:AssigneeUserNameMultiUserPicker}
   ${ReporterUserDisplayNameemailaddress:MultiUserPicker}

Below there is a sample of how the mappings will be displayed in a Word template:

...