Automatically create a linked support request from live chat using JMWE

Automatically create a linked support request from live chat using JMWE

After a customer starts a conversation via live chat (using Chat for JSM), you may want to escalate that request into a regular support ticket for deeper investigation and tracking. This guide walks you through how to automate this process using the Jira Misc Workflow Extensions (JMWE) app for Jira Cloud.

Prerequisites

Ensure the following setup is in place:

  • You are using Jira Cloud.

  • Both Chat for JSM and JMWE for Jira Cloud are installed.

  • A “Chat Request” work item type exists in a Jira Service Management project.

  • A “Support” work item type exists in another project (for example, Customer Support).

  • You have a workflow transition (for example, Closed – Escalated) where this post-function will run.

Configuration steps

Step 1: Edit the chat request workflow

  1. Go to Project Settings > Workflows.

  2. Select the workflow associated with the chat request type.

  3. Edit the workflow and select the transition (for example, Closed-escalated).

  4. Go to the Post Functions tab.

    Screenshot 2025-06-30 at 17.15.35.png

Step 2: Add the JMWE Post Function > Create issue(s)

  1. Click Add post function.

  2. Select Create issue(s) from the JMWE menu.

    Screenshot 2025-06-30 at 17.21.13.png

Step 3: Configure the post function

A. Workflow and transition

  • Applies to: Any → Closed-escalated transition of chat request.

B. Destination issue

Setting

Value

Setting

Value

Project

Customer support

Work type

Support

Link type

relates to

Reporter

Copy value from the current issue

Summary

Custom value (see below)

Set the summary to a dynamic value. For example:

Chat escalation - {{ issue.key }}: {{ issue.fields.summary }}

C. Field mappings

Set the following custom field values:

Field

Value Type

Value

Field

Value Type

Value

Labels

Custom value from script

live-chat-transfer

Request Type

Custom value from script

Get IT Help

Screenshot 2025-06-30 at 17.24.04.png

These field values must match the options configured in your Customer Support request types.

D. Add a comment on the original issue

Check Add new comment and enter:

Dear Customer, We have transferred your chat request into a regular support request for better investigation and resolution. This is your new request: https://your-support-site.atlassian.net/Supportdesk/customer/portal/2/{{ context.newIssueKey }} We will communicate further through the above request. Thanks, Support Team
Screenshot 2025-06-30 at 17.25.38.png

Make sure to replace your domain and portal number in the URL.

E. Additional settings

  • Comment visibility: Default (not restricted).

  • Comment author: Current user (or add-on user if required).

  • Uncheck Copy all fields — only use explicit field mappings.

Result

When a chat request is transitioned to ClosedEscalated:

  • A new Support ticket is created in the “Customer support” project.

  • Summary, Labels, and Request Type are pre-populated.

  • A customer-facing custom comment is automatically added to the original chat request, with a direct link to the new support request.