Skip to end of banner
Go to start of banner

Add WhatsApp User Name to Custom Field

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This page is about Chat for JSM Cloud. Using Server or Data Center? Click here.

Jira tickets initiated using WhatsApp have “Anonymous Chat User” as a Reporter. This is happening because a customer (even if it exists in your service project) cannot be connected to a WhatsApp user. However, we can retrieve user name and phone number from their WhatsApp account. This information is visible under the “Chat information” section on the Chats page:

Screenshot 2024-09-26 at 23.39.45.png

Additionally, you can copy the WhatsApp user name or phone number to a custom field using Jira Automation.

  1. Create a Jira custom field (text type).

  2. Go to Project settings → Automation → Create rule.

  3. Configure Jira Automation rule like this:

Screenshot 2024-09-26 at 23.51.04.png
  1. To fetch the metadata, use the following smart value for user name:

{{issue.properties."com.spartez.supportchat.chat.metadata"."username"}}

or phone number:

{{issue.properties."com.spartez.supportchat.creator.identity"."value"}}

  1. That’s it. You can now search and filter your tickets based on the custom field.

Note, that data must be copied to a text field and cannot be used in the Reporter field since there is no user email.

  • No labels