Skip to main content
Skip table of contents

Use cases for reacting on new incoming chat messages

In daily service management context we oftentimes rely on status changes and SLA. To align with that and combine the power of Teams chats with the Jira Service Management configuration we do offer a way to trigger for a new chat message. We update the work item whenever a new chat message is posted where a linked chat exists.

Prerequisites

  1. Install the portal in your Teams tenant: Teams portal app | Install-Teams-portal-app

  2. Authorize the app notifications for that teams portal: Teams portal app | [inlineExtension]Authorize-notifications

  3. Add the portal to your Preset and use this Preset in your chat: Preset: Teams - Microsoft 365 for Jira - Confluence

Examples

We will assist you with the setup tailored to your specific needs:

Change the status when a new chat message has been received

You can set up automation to run whenever a work item is updated, using a JQL condition or another condition, or you can use a scheduled trigger. A new chat message in the linked chat will update the work item, triggering the rule. Be aware, this will run for every new chat message, regardless of the initiator.

A basic rule might look like this:

image-20250819-100446.png

Please note: Since this is a very generic rule it will run for almost every updated work item, therefore we recommend to specify it e.g. by JQL condition and you can also limit it by checking if there is a linked chat anyway using this value:

CODE
hasChats = "True"
image-20250819-111157.png

If there is no response after x days close the ticket and post into the chat

Using a similar rule or trigger allows you to specify the JQL to check for updated work items/requests based on their last updated time. Add the transition work item action to close the request and allow your Preset's built-in automation to send the resolved request card. (Preset: Teams - Microsoft 365 for Jira - Confluence).

If necessary, post a custom message in the chat. The latter requires the automation action “Reply Teams Chats” from our app (for general guidance in automation setup, see: Automation - Microsoft 365 for Jira - Confluence):

image-20250819-111801.png

Simply use the webhook URL and use it within your existing Jira automation rule as “send web request” action:

image-20250819-112042.png

After resolving a ticket reopen it when a customer replies into the same chat (alternative: remove him from chat)

If you simply want to re-open a ticket when a customer replies in a chat of a request you can use our built-in-automation of our Presets. Whenever a request has been resolved and the customer replies it will automatically reopen the request. It can be added here:

image-20250819-113527.png

Alternatively you can also remove the chat participant from the chat when a request is resolved adding the request resolved card. This way the customer can’t reply into the same chat but can re-open the ticket based on the customer facing transitions. It can look like this:

image-20250819-113454.png

JavaScript errors detected

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

If this problem persists, please contact our support.