> For the complete documentation index, see [llms.txt](https://docs.warp.dev/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# Connect Jira to your factory

Connect Jira Cloud to your factory so work items assigned to Warp start factory runs and return results in Jira.

Connect Jira Cloud to your factory so your team can start factory work without leaving Jira. When someone assigns or mentions **Warp** on a work item, Jira starts an agent session, a factory automation routes the request to the agent you chose, and the same session shows progress and the final result.

## Prerequisites

-   A Jira Cloud site. Jira Server and Data Center are not supported.
-   A Jira site admin to install the Warp app and connect the site to your Warp workspace.
-   A factory in the connected workspace and permission to edit its [definition](https://docs.warp.dev/factories/factory-as-code/).

## Install Warp for Jira

Connect the Jira site to your Warp workspace before selecting projects for a factory. You need permission to connect workspace integrations in Warp and a Jira site admin to install the app.

1.  In the [Warp Factories web app](https://platform.warp.dev), open the top-level **Integrations** page, open **Jira**, and click **Connect**. You can also start Jira setup while creating a factory. Reuse an already connected site instead of installing it again.
2.  Open the installation link, choose your Jira Cloud site, review the requested permissions, and install the Warp app.
3.  In Jira, open **Apps** > **Manage apps**, find **Warp**, and click **Configure** or **Get Started**.
4.  On the app configuration page, click **Connect to Warp**. Sign in to Warp if prompted and finish connecting the site to your workspace.
5.  Return to the Jira configuration page and confirm it says “Connected to Warp.” Return to Warp and continue with [factory project selection](#connect-jira-and-add-an-automation).

If you aren’t a Jira site admin, choose **Someone else** during setup and email the request or copy the approval link to a site admin. The link expires after seven days; resend or revoke it while the request is pending. The site admin installs the app, opens its **Configure** or **Get Started** page, verifies the named workspace and requester, and clicks **Approve** only for the expected request. Once the site is connected, return to Warp to select the factory’s projects.

## Connect Jira and add an automation

1.  [Install Warp for Jira and connect the site](#install-warp-for-jira) if it isn’t already connected to your workspace.
    
2.  In the factory dashboard, open **Settings** > **Integrations**, connect **Jira**, select the projects this factory works with, then click **Enable**. If you connected Jira while creating the factory, select the projects before finishing setup. Each factory opts in separately even though the Jira site is connected to the workspace.
    
3.  In the factory dashboard, open **Automations**. If you selected Jira projects during factory creation, edit the existing Jira automation. Otherwise, add a trigger for **Jira** > **Agent session created**. Choose the agent that handles the work, select the projects, and optionally add keywords to narrow which sessions start runs.
    
4.  Assign or mention **Warp** on a test work item with a read-only instruction, such as “Summarize this work item without changing it.” Confirm the run appears under the matching automation and the summary returns in the Jira agent session. If Jira asks you to authenticate, [link your own account](#connecting-your-jira-account-to-warp), then retry.
    
    The **Warp** agent must be available on your Jira site to assign or mention it. Jira lists it among Atlassian’s Rovo agents.
    

The [standalone Jira integration](https://docs.warp.dev/platform/integrations/jira/) uses the `warp-agent` label to start cloud agent runs. Factories use an automation instead.

### Configure the automation as code

Declare the `jira` integration in `factory.yaml` (`integrations: [{type: jira}]`), then add a file under `automations/`, such as `automations/jira-assignment/automation.md`, with an `agent_session_created` trigger:

```markdown title="automations/jira-assignment/automation.md"
---
enabled: true
agent: foreman
triggers:
  - provider: jira
    event: agent_session_created
    filter:
      project_keys: [ENG]
      keywords: [investigate, fix]
---

Handle the Jira assignment and return a concise result.
```

This automation sends Jira sessions from the `ENG` project to the agent named `foreman` when their assignment text contains `investigate` or `fix`. Commit and push the files to apply them. See [definitions as code](https://docs.warp.dev/factories/factory-as-code/) for the full syntax.

## Connecting your Jira account to Warp

Each teammate links their own Jira account so Warp can identify who requested work. Personal linking doesn’t require Jira admin access.

1.  In Jira, follow the connection link from Warp’s authentication prompt, or open your profile’s **Personal settings** and the **Warp Account** app page.
2.  Click **Connect Warp account**. In the Warp page that opens, sign in with your Warp account if prompted and finish connecting.
3.  Confirm the Warp page says “Jira account connected.” Reload the Jira personal settings page and confirm it says “Warp account connected.”
4.  Retry your factory assignment or mention and confirm its run appears under the matching automation.

To unlink your personal account, click **Disconnect** on the Jira personal settings page. This removes your account link, not the site’s Warp app or the factory’s project selection. A Jira site admin manages [app uninstallation](#permissions) separately.

## Filter which sessions start runs

All Jira work reaches the factory through a single event, `agent_session_created`, which fires when someone assigns or mentions **Warp** on a work item. A session starts a run only when it matches an enabled automation. Use the trigger’s `filter` to narrow what matches:

-   **`project_keys`** - Match work items in these Jira projects.
-   **`keywords`** - Match assignment text that contains any of these words. Matching is case-insensitive.

A session must match every field you set; within a field, any listed value is a match. Omit a field to match everything. For the matching rules shared by every source, see [automation filters](https://docs.warp.dev/factories/automations/).

Caution

A Jira event is offered to every automation in the connected workspace, so another team’s automation with a broader filter can start its own run on the same work item. Filters decide what *your* automation picks up, not who else can see the event. See [Automations](https://docs.warp.dev/factories/automations/#filters-dont-control-access).

## What happens during a run

The agent runs in the cloud and starts with the assignment text and the work item it came from. When the factory declares Jira as an integration, the agent can also read the work item’s details, comments, and available workflow transitions.

Jira shows the task’s status as it progresses: submitted, working, waiting for input, completed, failed, or cancelled. For more than status updates, open the run under the matching automation in your factory: [cloud agent session sharing](https://docs.warp.dev/platform/viewing-cloud-agent-runs/) shows the full run, including every command, log, and output, in real time or after the run finishes.

Replies in the same agent session continue the same run, even after the agent finishes a turn, so you can answer questions or add direction mid-task.

When the run finishes, the result appears in the agent session. The agent doesn’t comment on the work item unless you ask it to. The agent can act in Jira when asked: update the work item, post or edit comments, change workflow status, add or remove labels, or reassign it. State the actions you want in the automation instructions or the assignment; Jira permissions and valid workflow transitions apply to everything the agent does.

## Permissions

Jira requests Forge scopes at installation, separately from linking your account to Warp.

The [Warp Marketplace listing](https://marketplace.atlassian.com/apps/2476990014/warp?hosting=cloud&tab=privacy-and-security) declares the following permissions. A site’s installed app version and Jira access rules determine its effective access.

| Scope | Granted access | Function in Warp | Boundary |
| --- | --- | --- | --- |
| `read:jira-work` | Read project and issue data, including associated objects | Read work item context, comments, and workflow information | Declared for offline user impersonation; the user’s Jira access still applies |
| `read:jira-user` | Read accessible user profiles, including email addresses and avatars | Identify users and retrieve user context | Declared for offline user impersonation; not permission to manage users |
| `write:jira-work` | Create, edit, and delete issues, post comments, and create worklogs | Update work items, comments, labels, assignments, and status | The provider grant is broader than the actions described for a run |
| `read:permission:jira` | Read Jira permissions | Check the requesting user’s project and issue permissions before writes | Doesn’t grant the permissions being inspected |
| `read:app-system-token` | Let Forge supply an app system token to the remote backend | Make Jira calls as the app bot | Separate from a human user’s token |
| `read:app-user-token` | Let Forge supply the viewing user’s token to the remote backend | Verify the account being linked during setup | Separate from site-wide app installation |

[Jira scopes](https://developer.atlassian.com/platform/forge/manifest-reference/scopes-product-jira/) don’t override Jira permissions or issue-security rules.

-   **A connected Jira user becomes the run’s creator, not its agent** - [Connect your Jira account to Warp](#connecting-your-jira-account-to-warp) so a session you start is attributed to you; an unconnected account gets a prompt to connect instead of a run starting. Either way, the run executes as the agent selected by the automation, not as that Jira user.
-   **Jira access doesn’t include code access** - Connecting Jira lets agents read and update Jira work items, nothing more. Repository access comes from the factory itself.

Warp’s built-in Jira tools use a person’s linked Jira account:

-   **Human-created runs** - The tools use the run creator’s account.
-   **Automation runs without a human creator** - For factory automations, including scheduled runs, **Run now**, and other automation-triggered runs, the tools use the automation creator’s account. Helper agents use the same account, not the last editor’s, trigger creator’s, or agent’s account.

That person must link their Atlassian account in Jira under **profile** > **Personal settings** > **Warp**. Reads use their Jira permissions. The Warp app makes writes, such as comments, edits, and transitions, after checking that person’s permission for the exact action and target.

The automation creator must still have access to the team and factory and a linked Jira account for the site. Unlinking, losing access, or deleting the automation stops access on the next request. Pausing or disabling the automation doesn’t revoke access for runs already started.

Automations created by a service account don’t get this fallback. Neither do runs outside factory automations, including standalone schedules and API, CLI, or CI runs created with a service account or API key. For those runs, add the Atlassian MCP server as a [managed MCP install](https://docs.warp.dev/factories/mcp/).

To withdraw the app’s site access, a site admin manages or uninstalls it in [Atlassian’s connected-app administration](https://support.atlassian.com/organization-administration/docs/managing-an-installed-app/). Removing a factory automation or unlinking a personal account is not the same as uninstalling the Jira app.

## Troubleshooting

-   **Warp is unavailable in Jira** - Confirm the Warp app is installed on the Jira Cloud site. On the app’s **Configure** page, click **Connect to Warp** if the installation isn’t connected to a workspace. If someone else is completing setup, confirm that their setup link is still active.
-   **No run starts** - Confirm an enabled `agent_session_created` automation exists, its agent is available, and its project and keyword filters match the assignment.
-   **Jira asks you to connect an account** - [Link your own Jira account to Warp](#connecting-your-jira-account-to-warp), then retry the assignment or mention. Installing the app and connecting the site doesn’t link every teammate’s account.
-   **Jira tools say the automation’s creator needs to connect** - The automation creator must link their Jira account to Warp using the tool response’s **Connect Warp** link.
-   **The session shows no result** - Open the matching automation’s run to see whether the agent is still working, waiting for input, or failed.
-   **A Jira update fails** - Confirm the app can access the work item’s project and that the requested action or workflow transition is valid.

## Related pages

-   [Permissions for factory integrations](https://docs.warp.dev/factories/integrations/permissions/) - Compare grants and review status across providers
-   [Connect your factory](https://docs.warp.dev/factories/connect-your-factory/)
-   [Factory troubleshooting](https://docs.warp.dev/factories/troubleshooting/#work-isnt-starting)
