Skip to main content

Automatically assign Jira Service Management reporter from forwarded emails

Workflow preview

Workflow preview
100%
Automatically assign Jira Service Management reporter from forwarded emails preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automatically Assign Jira Service Management Reporter from Forwarded Emails This workflow solves a common problem in Jira Service Management: when an email is forwarded to create a ticket, Jira oft...

Best for

  • Ticket Management automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.jira, n8n-nodes-base.httprequest, n8n-nodes-base.jiratrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Websensepro.

Original n8n.io source

1.1 Workflow description

Title
Automatically assign Jira Service Management reporter from forwarded emails
Workflow name
Automatically assign Jira Service Management reporter from forwarded emails

Automatically Assign Jira Service Management Reporter from Forwarded Emails

This workflow solves a common problem in Jira Service Management: when an email is forwarded to create a ticket, Jira often sets the forwarding system (e.g., [email protected]) as the reporter, not the original customer. This template automates the process of parsing the original sender's details from the email body and correctly assigning them as the ticket's reporter.

If the customer doesn't exist in Jira, a new customer profile is created automatically before the ticket is assigned.

What it Does

  1. Triggers on New Issue: The workflow starts when a new issue is created in a specified Jira project.
  2. Filters Forwarded Emails: An If node checks if the issue was created by one of your internal forwarding email addresses. The workflow only proceeds for these specific issues.
  3. Parses Details: A Code node uses regular expressions to parse the issue description (the forwarded email's body) and extract the original sender's name and email address.
  4. Searches for Existing Customer: An HTTP Request node checks if a customer with the extracted email already exists in your Jira Service Desk.
  5. Creates New Customer: If the customer is not found, another HTTP Request node creates a new customer profile in Jira Service Management.
  6. Assigns Reporter: Finally, a Jira node updates the issue's "Reporter" field to the existing or newly created customer, ensuring the ticket is correctly associated with the original sender.

Use Cases

  • Shared Support Inboxes: Automatically process emails sent to a general support inbox (e.g., [email protected]) that are then forwarded to Jira.
  • Departmental Forwarding: Handle tickets forwarded from specific departments (e.g., [email protected] or [email protected]) and assign the original sender correctly.
  • Personal Email Forwarding: Useful when a team member forwards a customer email from their personal inbox to the Jira Service Management-connected address.

Customization

The Parse Details From Description node uses a regular expression (regex) to find the sender's email. The default regex is designed for standard forwarded emails that look like this: From: John Doe <[email protected]>

If your email client forwards emails in a different format, you may need to adjust the regex in the Code node. For example, if your format is From: [[email protected]], you would need to update the regex pattern to match this structure.

Troubleshooting

  • Reporter Not Being Updated:
    • Verify that the forwarding email addresses in the Filter Forwarding Emails node are correct.
    • Check the body of the Jira ticket's description to ensure the forwarded email content is present and in a format the regex can parse.
  • Customer Not Found/Created:
    • Ensure your Jira API credentials have the necessary permissions to search for and create customers in Jira Service Management.
  • Workflow Not Triggering:
    • Confirm that the Jira Trigger is correctly configured for the right project and that the webhook is active in your Jira instance.

Requirements

  • An n8n instance (self-hosted or cloud).
  • Jira Software Cloud API credentials with Service Management permissions.

How to Set Up

  1. Connect Credentials: In the Jira Trigger, Jira, and HTTP Request nodes, select your Jira Software Cloud API credentials.
  2. Configure Trigger: In the Jira Trigger node, select the Jira project you want this workflow to monitor.
  3. Set Filter Emails: In the Filter Forwarding Emails (If) node, replace the placeholder email addresses with the internal email addresses that forward mail to Jira.
  4. Update Jira Domain: In both HTTP Request nodes (Search for Existing Customer and Create Customer), replace the YOUR_JIRA_DOMAIN placeholder with your actual Atlassian domain (e.g., my-company.atlassian.net).
  5. Activate Workflow: Save and activate the workflow.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Filter Forwarding Emails

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 3 - Set Description Variable

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Parse Details From Description

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Update Reporter (New Customer)

Type / Role
n8n-nodes-base.jira - jira
Config choices
Version 1

Block 6 - Search for Existing Customer

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - If Customer Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - Update Reporter (Existing Customer)

Type / Role
n8n-nodes-base.jira - jira
Config choices
Version 1

Block 9 - Jira Trigger1

Type / Role
n8n-nodes-base.jiraTrigger - jiraTrigger
Config choices
Version 1.1

Block 10 - Create Customer1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automatically assign Jira Service Management reporter from forwarded emails
Complexity intermediate
Nodes 11
Categories Ticket Management
Author Websensepro
Published 29 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10280/10280.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automatically assign Jira Service Management reporter from forwarded emails do?

Automatically Assign Jira Service Management Reporter from Forwarded Emails This workflow solves a common problem in Jira Service Management: when an email is forwarded to create a ticket, Jira oft...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management use case.