Skip to main content

WhatsAppBridge overview

WhatsAppBridge connects your Jira Service Management (JSM) project with the WhatsApp Cloud API provided by Meta. Customers write to your WhatsApp Business number, and agents reply from Jira.

How it works​

  1. A customer sends a message to your WhatsApp Business number.
  2. Meta delivers the message to the plugin webhook (the Webtrigger URL).
  3. The plugin creates a Jira issue on behalf of the app, or adds a comment to the customer's open issue.
  4. An agent answers with a public comment in Jira or in the WhatsAppBridge issue panel (a chat view with delivery statuses). The plugin sends the reply to the customer through the WhatsApp Cloud API. See Reply to customers.
  5. Internal (private) comments are never sent to WhatsApp.

Two directions, two sets of settings​

The Connection settings window of the plugin has two independent parts. Each one has its own status indicator.

DirectionWhat it doesWhat you need
Incoming messagesWhatsApp → JiraWebtrigger URL and Verify token (from the plugin, pasted into Meta)
Outgoing messagesJira → WhatsAppWhatsApp Business Account ID (WABA ID), Access token (system user token) and a Phone number (from Meta, pasted into the plugin)

What you need before you start​

  • A Jira Cloud site with Jira Service Management and the WhatsAppBridge app installed.
  • A JSM service project for WhatsApp requests.
  • Jira administrator permissions.
  • A Facebook account that can sign in to Meta for Developers.
  • A Meta business portfolio (you can create it during app creation).
  • A phone number for WhatsApp Business. For testing you can use the test number that Meta provides.
info

A number connected to the Cloud API cannot be used in the regular WhatsApp or WhatsApp Business mobile app at the same time. Use a number dedicated to the Cloud API.

Setup steps​

First, add a configuration: choose the JSM project, the closed statuses and the work item type. Then follow the steps:

  1. Create a Meta app and a WhatsApp Business Account
  2. Configure the webhook (incoming messages)
  3. Get the WABA ID and a permanent access token
  4. Fill in the Connection settings in the plugin
  5. Go live

If something does not work, see Troubleshooting.

tip

Meta changes its dashboard from time to time, so button names can differ slightly from the instructions. The official guide is always up to date: WhatsApp Cloud API: Get started.