Create work items across Jira Cloud instances with Automation

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

With two separate Jira sites, it's possible to use Automation to create work items in both sites at the same time. To accomplish this, we need to create two rules, one for sending a webhook from the source instance and one for receiving a webhook on the destination instance.

Solution

Best practices and tips

  • Create both automation rules at the same time, so you can easily copy and paste the value of the Webhook URL and secret

  • Start implementing this with only the summary and description fields, and improve by searching for the fields one by one afterwards

  • You can add the Log action on the rule(s) in order to understand what was inside the webhookData smart value, which helps identify the pattern we need to retrieve the fields we want

Automation rule on destination Jira instance

We'll actually start with the rule on the destination Jira instance. This allows us to copy the necessary webhook URL and secret which we'll use in the rule on the source instance later.

This rule needs to receive a webhook, and create a work item afterwards. The webhook URL and secret won't appear until the rule is saved and enabled.

  1. Navigate to either your project > Project settings > Automation (for a project-scoped rule) or to global automation (for a globally scoped rule) and select Create rule

  2. Trigger: Incoming Webhook

  3. Action: Log action (optional)

  4. Action: Create a new work item

    1. Project: Select the project under your destination instance that must receive all the work items that will be created from the source instance.

    2. Work item type: Select the type that the work item will be created as

      • If you need several work item types, you can add some conditions using the "If block condition" and create separate "Create work item" actions for each type of work

    3. Summary and Description: Use Smart values to dynamically populate work item data from the Webhook

      • For the summary, use {{webhookData.fields.summary}}

      • For the description, use {{webhookData.fields.description}}

      • Add any other fields you want under the "Choose fields to set" option, and then use the same logic to get the field values from the webhookData object

  5. Set a Name for your rule, and turn it on

  6. Return to the Incoming webhook trigger

  7. For Execute this automation rule with: Select Work items provided by webhook HTTP POST body

    • Webhook URL: We'll need to use this URL in the Webhook URL field of the source instance rule

    • Secret: This is the value for the rule's X-Automation-Webhook-Token on the source instance rule

Automation Rule on source Jira instance

This rule will send a webhook to the Jira destination instance whenever a work item is created on the source.

As mentioned, we'll need both the Webhook URL and Secret from the automation rule on the destination instance. Please copy and store these values temporarily until both rules are configured and working.

  1. Navigate to either your project > Project settings > Automation (for a project-scoped rule) or to global automation (for a globally scoped rule) and select Create rule

  2. Trigger: Work Item Created

  3. Action: Log action (optional)

  4. Action: Send web request

    • Webhook URL: Paste the URL of the incoming webhook trigger on the destination Jira instance

    • Headers: Insert the header X-Automation-Webhook-Token, and paste the webhook secret in the Value portion of this header

  5. HTTP method: POST

    • This allows us to send information to the webhook URL

  6. Webhook body: To simplify things, select Custom data and send all the required work item data using Smart values, which are placeholders for dynamic content

    Custom data

    { "summary": "{{issue.summary}}", "description": "{{issue.description}}" }

Updated on May 13, 2025

Still need help?

The Atlassian Community is here for you.