Jira

Install Factory for Jira, link your Jira Cloud site, and delegate issues to Droid using your organization's Agent Profile.

Assign a Jira issue to Factory or mention @Factory in an issue comment to have Droid investigate, implement, and test the work. Droid runs on a remote computer and reports progress and results in Jira.

You delegate directly from an issue; you do not need to create an automation. The Delegations settings control the shared Agent Profile.

A personal Jira connector gives Droid tools to use inside a session. It does not install the Factory agent in Jira or enable issue assignment.

Prerequisites

To install and configure Jira delegation, you need:

  • A Factory organization on any paid plan, including individual plans and organization plans.
  • A Jira Cloud site with agent assignment and mentions available.
  • Permission to install apps and open app administration in Jira.
  • The Manager or Owner role in the Factory organization you want to connect.
  • Access to Settings → Delegations, including Jira app setup.
  • The Org Default Agent Profile, with an Environment for Dynamic compute or its own Droid Computers for Persistent compute.

Team members who delegate work need a Factory account in the connected organization and permission to use Factory on the Jira issue. Use the same email for Jira and Factory so Factory can link the person making the request.

Set up the Org Default Agent Profile

Before you connect Jira, a Manager or Owner sets up your organization's Org Default Agent Profile. It sets the model, instructions, plugins, compute, Git credentials, and connectors Jira delegations use. Follow configure an Agent Profile, and make sure the profile has repository access for the work. Until Org Default is saved for the first time, Factory asks you to set it up when you connect an app.

Jira issue delegations run as the Agent Profile, with its Git credentials and connectors, not the personal credentials of the person assigning the issue. The Org Default Agent Profile serves every request that does not name a custom profile, and is shared by every delegation app, so changes can affect more than Jira.

To run a request on a custom Agent Profile, put !profile and the profile's handle right after the @Factory mention, for example @Factory !profile backend fix the login bug. Requests that name no profile run on Org Default. See name a profile in a delegation app.

Install and connect Factory for Jira

Installing the app and linking the Jira site are separate steps. Complete both before delegating work.

  1. 1
    Open Jira delegation settings

    In Factory, open Settings → Delegations. Under Delegation Apps, find Jira and select Set Up for Org.

    If Jira is already connected, select Configure to open its setup page.

  2. 2
    Install the Jira app

    On the Jira setup page, select Connect to open Factory for Jira in the Atlassian Marketplace. Select your Jira Cloud site and approve the requested permissions.

    For an existing connection, Manage → Install Jira App opens the same installation page. Installing a personal Jira connector is not a substitute for this app.

  3. 3
    Link the Jira site to Factory

    In Jira, open the installed Factory app's Get started or Configure page. Select Connect Factory.

    Factory opens in a new tab. Sign in with a Manager or Owner account and select the intended Factory organization. Review the Jira site and Factory organization shown in the Connect Jira confirmation, then select Connect. If Org Default is not set up yet, Factory asks you to set it up first and returns you to this confirmation after you save it.

  4. 4
    Verify the connection

    Return to the Factory app page in Jira. It should show Connected to Factory. Select Refresh if it has not updated.

    You can also review the Jira app status from Settings → Delegations → Jira → Configure → Manage in Factory. A connected app still needs the Org Default Agent Profile before Droid can run work.

Delegate an issue

Before assigning the work, put the repository, desired outcome, acceptance criteria, and verification steps in the issue description. Include relevant error messages, reproduction steps, and links.

For example:

In the storefront repository, investigate the failing checkout test. Fix the cause, run the relevant tests, and open a pull request with the results and a summary of the change.

Assign Factory through the agent picker

  1. 1
    Open the Jira issue.
  2. 2
    Select Agents.
  3. 3
    Search for Factory and select it to delegate the issue.
Jira issue with the Agents picker open and Factory selected in the search results

Factory appears as a Rovo agent in Jira's Agents picker. You do not need to create a Jira user named Factory.

Mention Factory in a comment

Add an issue comment, select @Factory from Jira's mention picker, and describe the task. Save the comment to send it.

For example:

@Factory Investigate the failure described in this issue. Fix it in the storefront repository, run the relevant tests, and open a pull request.

Jira comment editor with an @Factory mention and a request to take another pass at the RCA

Factory uses the issue context and your request to start the session. It can also retrieve issue details, comments, and linked issues through the Jira app's access.

Follow progress and send follow-ups

Review Factory's progress and replies in Jira's agent conversation. It reports when it is preparing the session, working, or waiting for your reply. For code changes, Droid is instructed to open a pull request and return its URL.

If Droid asks a question, reply in the same agent conversation. You can also send another instruction to refine the work. Only the person who started the delegation can send follow-up messages to that session.

Review the proposed changes and test results before merging. Delegating an issue does not replace code review.

Commands

To control Factory instead of sending another instruction, send a command on its own in Jira's agent conversation. If a message has any other text, Factory treats it as a normal request.

CommandWhat it does
!connectReplies with SSH instructions for the computer running the session. It works only after Factory has started a session on the issue.
!helpLists the available commands. You can also mention @Factory !help in an issue comment.

Cancel a running task

Use the running task's cancellation control in Jira's agent conversation. Factory marks the task canceled and attempts to stop the linked Droid session.

Cancellation does not undo work already performed. Review any changes or pull requests produced before the cancellation.

Troubleshooting