Skip to main content
Skip table of contents

How to Use the Reporter Email Address in a Context Filter

1. Preparation, create an explicit custom field for this purpose

You need a custom field where the email should be stored later. If you don't have one yet, you can create a new custom field as follows:

Settings > Work Items > Fields > Create new field

  • Field Type: Short text

  • Name: EDReporterEmail (in our example)

Hint: make sure that nothing is selected in the screen selection, so that the email is not visible to others.

Field Type

2. Create a new automation

In the Jira space, go to JIRA Automation and create a new rule:
Space Settings > Automation > Create rule

Rule

If this is the first rule, then you will first receive a tutorial. You can go through the tutorial or skip it.

  • New Trigger

  • Select Work Item created.

Trigger
  • Confirm your selection with Save

  • Add component

    • Select New action

Component
  • New Action

    • Select Edit work item

Action
  • Edit work item

    • Find and select the custom field where the email should be set. In our example, EDReporterEmail.

Issue
  • Set the field value:

    CODE
    {{reporter.emailAddress}}
Automation
  • After saving, assign a name for this automation and turn it on.

Name Automation

From now on, the email of the reporter is in the custom field for newly created work items and can be used in external data.

CODE
$.issue.fields.customfield_XXXXX

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.