Skip to content

Factories > Integrations

Connect Jira to your factory

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Connect Jira Cloud to a 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.

  • Jira Cloud - The integration supports Jira Cloud only, not Jira Server or Data Center.
  • A Jira site admin - Installing the Warp app on a Jira site and connecting it to a Warp workspace requires site admin permissions.
  • A factory - You need a factory in the connected workspace and permission to edit its definition.
  • The Warp agent in Jira - The Warp agent must be available on your Jira site so people can assign or mention it on work items. Jira lists it among Atlassian’s Rovo agents.
  1. Install the Warp app on your Jira site. In the Integrations page of the Oz web app, find Jira and click Set up, then click Get app on the Atlassian installation page and install the app on your Jira Cloud site.

  2. Connect the installation to your Warp workspace. In Jira, open Manage apps and open the Warp app’s Configure page, then click Connect to Warp and sign in to Warp if prompted. The page shows Connected to Warp when the connection succeeds, and every factory in the workspace can then use it.

    The Jira integration setup covers installation in more detail. The warp-agent label flow on that page starts standalone cloud agent runs; factories skip the label and start runs through an automation instead.

  3. Add a Jira automation to your factory definition. The control room’s automation editor doesn’t include the Jira trigger, so configure it with definitions as code: declare the jira integration for the factory, then create an automation that listens for the agent_session_created event. The agent field names the factory agent that handles matching requests.

    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.

    With this automation, the agent named foreman handles sessions for work items in the ENG project whose assignment text contains investigate or fix.

    If you selected Jira projects when you created the factory, Warp already added this automation at automations/jira-agent-sessions/automation.md, scoped to those projects. Edit that file instead of creating a second automation.

  4. Apply the definition, then test it: assign or mention Warp on a work item and include an instruction. Jira starts an agent session, and the run appears under the matching automation in your factory.

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.

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 canceled. For more than status updates, open the run under the matching automation in your factory: cloud agent session sharing 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. A new session on the same work item starts a separate run.

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.

  • Runs act as the factory agent - A run executes as the agent selected by the automation, not as the Jira user who started the session.
  • Jira access doesn’t include code access - Connecting Jira lets agents read and update Jira work items, nothing more. Agents get repository access from the factory itself, and pull requests they open go through your usual review and merge process.
  • 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.
  • No run starts - Confirm an enabled agent_session_created automation exists, its agent is available, and its project and keyword filters match the assignment.
  • 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.

For the other ways to route work into a factory, see connecting your factory.