Add Trigger Webhook to a workflow

Add Trigger Webhook to a workflow

Step-by-step: take an existing webhook in Webhooks Pro and wire it into a workflow transition so it fires every time that transition runs.


Prerequisites

  • Jira admin permission (workflow editing requires it).

  • A published workflow you can edit (or a draft).

  • An existing webhook in Webhooks Pro. Create one first if needed: Create and edit webhooks.


1. Open the workflow in Jira's designer

Project settings → Workflows → pick the workflow that contains the transition you want to instrument.

If the workflow is shared across projects (most are), changes apply to every project using it. Edit a copy first if you only want the post function on one project — Jira's Copy workflow flow is the way.


2. Pick the transition

Click the transition you want to instrument (e.g. Done → Closed).

Per-transition precision is the whole point. If you want the webhook to fire on every status change, drop the post function and use Issue Updated events instead — see Events and event families.


3. Open the Post functions tab

In the right-hand panel of the transition editor, switch to Post functions.

You'll see Jira's built-in post functions (Update issue field, Create issue, etc.) plus any third-party ones. Trigger Webhook is contributed by Webhooks Pro.


4. Add Trigger Webhook

Click Add post function, find Trigger Webhook, click Add.

Jira opens the configuration screen.


5. Pick the webhook

The Use this webhook dropdown lists every webhook configured in this Jira site:

  • Active webhooks first, alphabetically.

  • Disabled webhooks below, each marked with a DISABLED lozenge.

  • A search box filters by name as you type.

Pick the webhook to fire on this transition.

If the dropdown is empty, you see: "Create at least one webhook in Webhooks Pro before attaching this post function." Go to Webhooks Pro and create one.

⚠️ If you pick a disabled webhook, a red warning appears: "This webhook is currently disabled. It won't fire until it's enabled on the Webhooks page." The binding still saves — but no deliveries until the webhook is re-enabled.


6. Confirm

Click Add (or Update if editing an existing binding). Jira closes the config screen.

The Post functions tab now shows Trigger Webhook → "" in the list. You can drag it to reorder relative to other post functions if order matters (it usually doesn't — webhook delivery is independent).


7. Publish the workflow

This is the step everyone forgets.

Unpublished workflows don't fire post functions. Click Publish at the top of the workflow editor and confirm.

Jira may ask whether to keep the existing draft. Publishing applies your changes to the live workflow.


8. Verify

Open any issue using this workflow. Run the transition you just instrumented.

Within a second or two, Webhooks Pro → Webhook Logs should show a new row for this webhook. Expand it — the body's entity.transition.name should match the transition you ran.

If the row doesn't appear:

Symptom

Cause

Fix

Symptom

Cause

Fix

No log row at all

Workflow not published, or post function on a draft only

Publish the workflow.

Row appears with Skipped lozenge

License-blocked

Renew. See Subscription states and SEN.

Row appears with status 0

Receiver unreachable, or egress not approved

See Status code 0 and network errors.

Row appears with status 4xx/5xx

Receiver-level error

Read the response body.


Editing or removing the binding later

In Jira's workflow designer, open the same transition → Post functions → click the ⋯ menu next to Trigger Webhook → Edit or Delete. Then Publish the workflow to apply.

Removing the post function in Jira doesn't auto-clean the binding row on the Webhooks Pro side. It may show as an orphan in the Transitions section of the webhook for a while until someone re-saves or triggers reconcile. If you see a stale entry, open the workflow in Jira, confirm the post function is gone, and remove on the Webhooks Pro side too if needed.


What you can change later without re-binding

These changes don't require touching the post function — they're picked up automatically:

  • The webhook's URL, headers, payload template.

  • The webhook's HMAC signing secret.

  • The webhook's Active state (toggle in Webhooks Pro).

These changes do require re-editing the post function:

  • Pointing the post function at a different webhook.

  • Removing the post function entirely.


Related