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 Fields | Description |
---|---|
AssigneeUserName | The issue assignee JIRA user name |
fullname:AssigneeUserName | The issue assignee Display Name output using the fullname function |
emailaddress:AssigneeUserName | The issue assignee email output using the emailaddress function |
ReporterUserDisplayName | The 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 | ||||
---|---|---|---|---|
| ||||
${AssigneeUserNamefullname:Picker} ${fullnameemailaddress:AssigneeUserNamePicker} ${emailaddressfullname:AssigneeUserNameMultiUserPicker} ${ReporterUserDisplayNameemailaddress:MultiUserPicker} |
Below there is a sample of how the mappings will be displayed in a Word template:
...