Versions Compared

Key

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

Exercise 5: How to populate the Assignee and the Reporter of your Issue

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
   ${AssigneeUserName}
   ${fullname:AssigneeUserName}
   ${emailaddress:AssigneeUserName}
   ${ReporterUserDisplayName}

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

Image Added

Below there is a sample of how the generated file will be populated:

Image Added

Here's the Exercise 5 related files:

FileDescription
Exercise5Template

Exercise 5 Sample Template file

Exercise5GeneratedExercise 5 Sample generated file