Skip to Content
Flower 3.7.1 is released 🎉 See what's new
DocsGuidesTrigger Jira Automation
Guides· 10 min read· Updated November 2026

Sync Magic: Triggering Jira Automation with BPMN Events

Next releaseParts of this page already describe the next release of Flower BPM: the way back from a rule to the process, message and signal end events, the field type, and on Data Center a throw event without a webhook URL that triggers Jira Automation.

Jira Automation rules run in the background, which makes them hard to track. With a throw event in your BPMN model, an automation becomes a visible step of the process, and your team sees when and why it runs. A throw event can also call external services.

đź“–

Reference: BPMN Events shows all event types of the BPMN standard in one table and which ones Flower executes.

The throw event triggers an automation rule, so the automation becomes a visible step of the process.

Why Trigger Jira Automation from Flower?

Jira Automation  lets you create event-driven rules that run predefined actions and reduce manual work. These rules run in the background, so it is often unclear when and why they ran.

If you call the rule from your BPMN model, the automation is part of the process flow:

  • Automation is visible in the process model.
  • Teams understand the trigger at a glance.
  • Workflows are more predictable and easier to track.

How It Works

This page shows the direction from the process to a rule. Both directions on one page, including the way back (a rule sends a message or a signal, or completes an automated task): Flower BPM and Jira Automation.

How the throw event reaches the rule depends on where Flower runs (all host differences: Limits and Host Differences):

Flower appWhat the throw event doesRule trigger
Forge (Jira Cloud)Sets the property flowerAutomation on the process instance and adds the comment Flower Automation Event: <name>. This is the default, there is no webhook.Work item commented, see Flower for Forge
Connect (Jira Cloud) and Data CenterSends an HTTP POST to the webhook URL of the event. Without a webhook URL, or with the request type Jira Automation, it does what the Forge app does.Incoming webhook, described next

The steps for a webhook (Connect and Data Center):

Create a Jira Automation Rule

Create a rule with the Incoming webhook trigger and copy its webhook URL and secret.

Add a Throw Event to Your Model

Draw an intermediate throw event at the place in your process where the rule should run.

Enter the webhook URL in the properties panel of the event.

Create the Jira Automation Rule

Jira Automation lets you create custom rules that react to events. A rule can, for example:

  • Assign work items dynamically based on priority or category.
  • Update fields when specific conditions are met.
  • Send notifications by Slack, email, or Jira comments.
  • Link work items, create subtasks, or transition work items.

Email Example

A Jira automation rule “Flower Email Automation“ with the trigger Incoming webhook and its URL, highlighted in red

The rule in the screenshot sends an email when the webhook is called. To connect Flower with this rule, copy the webhook URL of the trigger and paste it into the BPMN event in Flower.

Webhook URL and Secret

Atlassian requires a secret for the incoming webhook trigger. Atlassian accepts it either in the header X-Automation-Webhook-Token or at the end of the URL. Flower does not send custom headers, so add the secret to the end of the URL:

<webhook URL>/<secret>

Without the secret, the call fails.

⚠️

Treat the complete URL like a password. Everyone who can open the model can read it.

If your model still contains an old URL that starts with https://automation.atlassian.com/pro/hooks/, replace it with the current URL and secret from your rule. Atlassian retired this legacy endpoint on 30 May 2025.

Fire the Event from Your Model

In Flower, throw events call Jira Automation rules. When the process token reaches an intermediate throw event, the event sends its request. Then the token continues along the sequence flow.

To call a rule, enter the webhook URL in the properties panel of the selected event:

A message throw event and its properties: request type POST and the webhook URL of a Jira automation, highlighted in red

Intermediate Throw Events

Any BPMN intermediate throw event except the link throw event (it jumps to its link catch event) fires the webhook (or, on Forge, the automation event). Two exceptions: a message throw event with a message flow to another pool of the model delivers its message to that pool instead (a message flow to a black box pool is only documentation, so such an event fires as usual; see Message Flows), and end events other than the message and signal end event never call a webhook or a rule.

A signal throw event and a signal end event do one more thing: besides the rule or webhook, they send their signal to every process instance that waits for a signal of that name, see BPMN Signal Events.

IconEvent Type
BPMN symbol: none throw eventNone Throw Event
BPMN symbol: message throw eventMessage Throw Event
BPMN symbol: signal throw eventSignal Throw Event
BPMN symbol: escalation throw eventEscalation Throw Event
BPMN symbol: compensation throw eventCompensation Throw Event
BPMN symbol: link throw eventLink Throw Event
BPMN symbol: multiple throw eventMultiple Throw Event

What Flower Sends

Flower sends an HTTP POST request with a JSON body that contains the key of the process instance and the event that fired:

{"issues": ["FLOWER-375"], "instance": "FLOWER-375", "node": "Event_0x8kq2", "name": "Notify customer", "type": "message"}

type is the kind of the event: none, message, signal, escalation, compensation or multiple; an automated task sends its task type (serviceTask, scriptTask, sendTask, businessRuleTask). A message or signal end event sends the same as its throw event, when it has a webhook URL or the request type Jira Automation (without both it only ends its flow). In the rule: {{webhookData.type}}, {{webhookData.node}}.

Jira Automation understands this format: the rule runs for this work item. In the incoming webhook trigger, select the option that uses the work items provided in the web request. In the rule, you can read the data with the smart value {{webhookData}}.

An example request:

curl -X POST \ -H 'Content-type: application/json' \ "https://api-private.atlassian.com/automation/webhooks/jira/a/<id>/<id>/<secret>" \ --data '{"issues":["FLOWER-375"]}'
ℹ️

The request body will be more flexible in a future version of Flower.

Webhook Rules

RuleDetails
ProtocolThe URL must start with https://.
TargetThe target must be a public address. Internal addresses, such as localhost or private networks, are blocked.
CredentialsDo not put a user name and password in the URL.
RedirectsFlower does not follow redirects.
Response timeThe target should answer within about 10 seconds.
ResultFlower adds a comment to the process instance with the status code of the response. If the request cannot be sent, Flower adds a general error comment without technical details.

The rules differ by host (for example, Data Center also accepts relative paths and internal addresses), see Limits and Host Differences.

Call an AI Agent

A rule that a throw event triggers can also call a Rovo agent with the action Use Rovo agent, for work that the process does not wait for, such as a summary or a notification. When the agent should do a step that the process waits for, let the rule do the work item of a task instead: see AI Agent Steps.

Connect External Services

The same mechanism calls external services, such as your own microservice or the incoming webhook of a chat tool. The target receives the POST request with the key of the process instance. The target must follow the webhook rules above.

Flower mainly integrates with the Atlassian ecosystem (Jira, Confluence, Bitbucket), and webhooks connect it to everything else.

Flower for Forge: Trigger a Rule Without a Webhook

ℹ️

This section applies to the Forge version of Flower. Jira Cloud (Connect) and Jira Data Center keep the webhook described above; a throw event there without a webhook URL, or with the request type Jira Automation, does the same as in the Forge app.

Why the Forge App Does Not Call a URL

Flower for Forge is built for the Runs on Atlassian program. Such an app runs on Atlassian’s infrastructure and does not send your process data to any other server. This is the promise to your security team: your process data stays in your Jira site (usage analytics, which an administrator can switch off, are described in Setup). For this reason the Forge app cannot POST to the webhook URL of an automation rule or to an external service.

Instead, the throw event leaves a message inside Jira, and an automation rule listens to it. Everything stays in your site, and the rule can call external services if you want it to (action Send web request).

What the Throw Event Does

In the properties panel of the intermediate throw event, the Request Type is Jira Automation, the only option in the Forge app and the default when nothing is set. There is no webhook field. If a model from Connect or Data Center still has a webhook URL, the Forge app does not call it and adds the error comment Web service calls are not available in the Forge app to the process instance. When the process token reaches the event, Flower

  1. sets the work item property flowerAutomation on the process instance, and
  2. adds a comment to the process instance that starts with Flower Automation Event: followed by the name of the event.

The property holds plain JSON that changes with every event:

{ "node": "Event_0x9f3k2", "name": "Notify the customer", "instance": "FLOWER-375", "at": "2026-11-03T09:30:12.481Z", "id": "2026-11-03T09:30:12.481Z-Event_0x9f3k2" }

node is the BPMN id of the throw event and name its name in the model. Then the token continues along the sequence flow.

Create the Automation Rule

Create a Rule with the Trigger “Work item commented”

In Project settings → Automation (or the global automation settings) create a rule. As trigger select Work item commented.

Filter for Flower Events

Add the condition Advanced compare: first value {{comment.body}}, condition contains, second value Flower Automation Event. To react to one event only, use Flower Automation Event: Notify the customer.

Add Your Actions

Add the actions of the rule: send an email, change a field, Send web request to call an external service, and so on.

⚠️

Create the rule with the scope that contains the Flower process instances (the project of the process instance, or the global scope). The rule starts for comments on the process instance, not for the tasks of the process.

Get the Process Instance and the Event in the Rule

The comment and the property are on the process instance. So in the rule the work item that triggered the rule is the process instance:

You needSmart value
Key of the process instance{{issue.key}}
Id of the throw event that fired{{issue.properties.flowerAutomation.node}}
Name of the throw event{{issue.properties.flowerAutomation.name}}
Time of the event{{issue.properties.flowerAutomation.at}}
Type of the event: none, message, signal, escalation, compensation, multiple, or the task type of an automated task (serviceTask, scriptTask, sendTask, businessRuleTask){{issue.properties.flowerAutomation.type}}

Two events right after each other can overwrite the property before the rule reads it: the comment names the event and its type too (… set at Notify customer[Event_0x8kq2] (message) …), readable with {{comment.body}}.

One rule per event: the panel of the throw event in the Flower modeler shows the condition to copy, for example {{issue.properties.flowerAutomation.node}} equals Event_0x8kq2 (Forge) or {{webhookData.node}} equals Event_0x8kq2 (webhook). Put it into a condition of the rule (Advanced compare condition), so that the rule runs for this event only.

To work with the tasks of this process instance, use the action Lookup work items (or the branch Related work items → JQL) with the key of the instance:

flowerInstance = {{issue.key}}

For the task of a given node of the model, add the node:

flowerInstance = {{issue.key}} AND flowerNode = "Task_1abc2de"

Call an External Service from the Rule

Add the action Send web request to the rule. The URL, the headers and the body (for example {"issue": "{{issue.key}}", "event": "{{issue.properties.flowerAutomation.name}}"}) are part of the rule. Jira Automation sends the request, not Flower, so the Forge app stays inside Atlassian.

Use Cases

ProcessWhat the rule doesBenefit
Change managementAfter a change request is approved, the rule links it to the related implementation tasks and updates its status.Better traceability and correct statuses without manual work.
IT service requestsThe rule assigns the work item to the right person, based on component ownership, workload, or fixed rules. If there is no match, it notifies a team lead.Work reaches the right person without delays.
Incident managementWhen an incident escalates, the rule adds a comment (“This incident has escalated to Level 2”) and sends a Slack or email notification.Faster response and less follow-up work.
Customer onboardingAfter a new client is approved, the rule creates a space from a template, configures work types, workflows, and permissions, and assigns the space lead.No manual space setup, and a structured onboarding.
Marketing campaignAt the end of a campaign, the rule moves related work items to a final status such as Closed, moves completed work items to an archive space, and notifies stakeholders.Jira stays organized, and old work items do not clutter active work.

What’s Next?

Last updated on