#### Integrations

# Jira

With Grok Build's integration for Jira, you and your teammates can collaboratively work on tasks and steer multiplayer [Cloud Agents](/build/agents-window/cloud-agent) from Jira work items by assigning them to Grok Build or mentioning `@Cursor`. The app is still listed as **Cursor** in Jira, so that is the name you assign work items to. The handle becomes `@Build` on Dec 7. You don't need to reinstall or reauthorize the app.

[Video: watch the walkthrough](https://stream.mux.com/9iixca73KMiQrMpHuFHwwBQAqGjBl0002NPoN4jSUJ2oo.m3u8)

## Get started

### Requirements

Before you install the Jira integration, make sure you have:

* Jira Commercial Cloud with Rovo enabled for Jira. An Atlassian org admin can turn Rovo off for Jira alone while it stays on for other apps, under **Admin > AI and Rovo > Access**.
* Admin access to the Jira site where you want to install the app
* Grok Build admin access to the team you want to connect
* GitHub, GitLab, Azure DevOps, or Bitbucket connected to Grok Build for repository access and pull requests

> [!WARNING]
>
> The Grok Build Jira integration is currently available only on Grok Build Teams and
> Enterprise plans.

> [!WARNING]
>
> The Grok Build Jira integration is not currently supported in Atlassian HIPAA or
> FedRAMP (including Government Cloud) instances.

### Installation

1. As a Grok Build admin, go to [Grok Build integrations](https://grok.com/dashboard/integrations)

2. Click *Connect* next to Jira

3. Continue to the Cursor app listing in the [Atlassian Marketplace](https://marketplace.atlassian.com/apps/3903220956/cursor)

4. Click *Get it now*

5. Select the Jira site where you want to install Grok Build and click *Review*

6. Review the app, then click *Get it now*

7. Once installation completes, you should be dropped into the Grok Build Jira app configuration page. Wait a few minutes for Atlassian to notify us of the installation, and then click the *Connect to Cursor* button.

8. Connect the Jira site to your Grok Build team

   * If you want to enable user-level authentication (which gives team members more visibility and control over their agents) instead of running agents with a service account, flip the *Require individual authentication* toggle.

9. Complete any remaining Cloud Agent setup in the Agents Window:

   * Connect GitHub, GitLab, Azure DevOps, or Bitbucket
   * Enable usage-based pricing
   * Confirm privacy settings
   * Choose a default repository, model, and base branch (under Cloud Agents settings in the Grok Dashboard)

10. Return to Jira and start using Grok Build from a work item

    * If you enabled user-level authentication, each user will need to do more set up below

### Authentication mode

You can choose how Jira authenticates Cloud Agents on the Grok Build Jira integration admin dashboard by enabling the Require individual authentication toggle.

| Mode | How it works | Settings used |
| :--- | :----------- | :------------ |
| Service account authentication | Cloud Agents run under a service account. | Uses the team's Cloud Agent settings for routing, models, repositories, and defaults. Team MCP servers aren't available in service-account mode by default. Turn on Require individual authentication if your agents need them. |
| User-level authentication | Runs all Cloud Agents under each user's account. | Uses each user's Cloud Agent settings for routing, models, repositories, and defaults. Also allows users to find their running agents under their account. |

If you turn on **Restrict Cloud Agent Usage** in your Enterprise team's Cloud Agents settings, each Jira user must connect a Grok Build account before Grok Build starts an agent, even with the toggle off. Grok Build checks that account against the restriction. With the toggle off, agents still run under the service account.

To connect each user:

1. Kick off an agent on a Jira work item
2. A prompt will appear to connect the account
3. Follow the link to connect the Jira account to a Grok Build account associated with the team
4. Complete any remaining Cloud Agent setup in the Agents Window:
   * Connect GitHub, GitLab, Azure DevOps, or Bitbucket if you haven't connected a repository provider yet
   * Choose a default repository, model, and base branch (under *My Settings* Cloud Agents settings in the Grok Dashboard)

## How to use

Open a Jira work item and then assign it to Grok Build or mention `@Cursor` in a comment. Grok Build uses the work item title, description, comments, and available repository settings to start a Cloud Agent.

You can ask Grok Build to fix bugs, add features, update tests, or investigate a task described in the work item.

Agents started in Jira run under a team-owned service account by default so teammates can steer the same work item together, while each turn uses the sender's own MCP connections, approvals, PR and commit credit, and billing when individual accounts are connected.

### Delegating work items

Assign a Jira work item to Grok Build when the ticket already describes the task clearly.

1. Open the Jira work item
2. Click the assignee field
3. Select **Cursor**
4. Review the Cloud Agent that starts from the work item

### Mentioning Grok Build

Mention `@Cursor` in a Jira comment when you want to add specific instructions. You can include a repository, branch, or model in the same comment.

Examples:

* `@Cursor please investigate this regression`
* `@Cursor repo=acme/backend branch=release fix this before the release cut`
* `@Cursor model=claude-opus-5 and update the related tests`

### Follow-up instructions

Open Rovo chat from the Jira work item to send follow-up instructions and continue collaborating with Grok Build.

By default, agents started in Jira run under a team-owned service account rather than a personal account. Because the agent runs as a service account, no person's personal secrets, personal files, or personal tokens enter the machine. That lets teammates safely collaborate on the same agent when [Team Followups](/build/agents-window/cloud-agent/settings#team-follow-ups) allows service account agents.

When teammates have connected their Grok Build accounts, every follow-up counts as the work of the person who sent it, not the person who started the agent. For your turn:

* The agent uses your own MCP connections.
* Pull requests the agent opens are opened as you.
* Commits the agent makes give you credit.
* Approval prompts route to you, and usage is billed to you.

The person who started an agent can always follow up on it.

An agent falls back to running as the person who started it when it launches on a personal self-hosted machine, uses a personal environment, runs in a team that restricts Cloud Agent access, or targets a repository whose GitHub App isn't linked to the team.

### Status updates and handoff

When a Cloud Agent starts, Jira shows agent status on the work item. Grok Build posts progress while it works and returns a summary when the task completes.

If Grok Build opens a pull request, the completion update links to the PR for review.

## Configuration

Manage default settings and privacy options from [Grok Dashboard -> Cloud Agents](https://grok.com/dashboard/cloud-agents) under Team Settings or My Settings.

### Settings

#### Default model

Used when no model is specified in the Jira work item or comment. See [settings](https://grok.com/dashboard/cloud-agents) for available options.

#### Repository selection

Grok Build selects the repository based on:

1. **Explicit values**: `repo`, `branch`, or `model` values in the Jira comment or work item
2. **Work item content**: repository names, service names, or keywords in the title, description, and comments
3. **Routing rules**: [custom keyword-to-repository mappings](#routing-rules)
4. **Recent agent activity**: repositories you've used recently
5. **Default repository**: fallback when no match is found

To use a specific repository, include it in your comment. For example: `@Cursor repo=acme/mobile-app fix the login bug`. Your team service account or user account (depending on the mode you have turned on) must have access to this repo or else the attempt to kick off a Cloud Agent will fail.

#### Base branch

Starting branch for Cloud Agent. Leave blank to use the repository's default branch (recommended).

#### Branch prefix

Prefix for branch names created by Cloud Agents.

### Options

Customize Cloud Agent behavior while using mentions with `@Cursor` with these options:

| Option   | Description         | Example             |
| :------- | :------------------ | :------------------ |
| `repo`   | Specify repository  | `repo=acme/web-app` |
| `branch` | Specify base branch | `branch=main`       |
| `model`  | Specify model       | `model=opus`        |

Grok Build skips options inside a code block and leaves the code in your prompt as written.

### Routing rules

Routing rules let you define keywords that automatically map to specific repositories. When a Jira work item or comment contains specific keywords, Grok Build routes the Cloud Agent to the associated repository.

Routing rules are the way you can tell the agent which projects, work items, key words, and other data should decide which repositories are used for which work items.

#### Setting up routing rules

1. Go to [Grok Dashboard -> Cloud Agents](https://grok.com/dashboard/cloud-agents)
2. Find the **Routing Rules** section
3. Add keyword-to-repository mappings

#### Example rules

| Keyword    | Repository              |
| :--------- | :---------------------- |
| `frontend` | `acme/web-app`          |
| `mobile`   | `acme/mobile-app`       |
| `api`      | `acme/backend-services` |
| `docs`     | `acme/documentation`    |

With these rules configured:

* A work item titled `Fix the frontend nav bug` routes to `acme/web-app`
* A comment saying `@Cursor update the mobile onboarding flow` routes to `acme/mobile-app`
* A comment saying `@Cursor add rate limiting to the api` routes to `acme/backend-services`

#### How routing works

Grok Build evaluates Jira work items and comments in this order:

1. **Explicit values**: `repo`, `branch`, or `model` values in the Jira comment or work item
2. **Work item content**: repository names, service names, or keywords in the title, description, and comments
3. **Routing rules**: custom keyword-to-repository mappings
4. **Recent agent activity**: repositories you've used recently
5. **Default repository**: fallback when no match is found

### Privacy

Cloud Agents support Privacy Mode.

Read more about [Privacy Mode](https://www.cursor.com/privacy-overview) or manage your [privacy settings](https://grok.com/dashboard/cloud-agents).

> [!WARNING]
>
> Privacy Mode (Legacy) is not supported. Cloud Agents require temporary code
> storage while running.

## Permissions

During installation, Jira shows the permissions requested by the Cursor app. Grok Build uses these permissions to:

* Identify the Jira user starting or managing a Cloud Agent
* Read work item fields, descriptions, comments, and related context
* Post status updates, completion summaries, and pull request links
* Receive events when work items are assigned to Grok Build or mention `@Cursor`

Review the permission prompt in Atlassian Marketplace before installing the app.

## FAQ

### Which Jira sites are supported?

The Grok Build Jira integration supports Atlassian commercial cloud sites with Rovo enabled. Atlassian HIPAA, FedRAMP, and Government Cloud instances are not supported.

### Do I need usage-based billing?

It depends on who the runs belong to. With Require individual authentication off, runs use the team's service account. On a Teams plan, the service account has no included usage, so usage-based billing must be on for your team. On an Enterprise plan with pooled usage, these runs draw from the pool first. With Require individual authentication on, each run uses the Jira user's own included usage first.

### Who can install the Jira integration?

A user that is both a Jira admin and Grok Build team admin will need to do the initial setup.

### Can a Jira site connect to more than one Grok Build team?

No. Each Jira site connects to one Grok Build team. A Grok Build team can connect multiple Jira sites. Team admins can add another site from the Jira integration settings. To link their Jira accounts, users must be members of the Grok Build team connected to that site.

### Do users need to connect their own Grok Build accounts?

It depends on the authentication mode you choose. Service account authentication runs all Cloud Agents under a service account and uses team settings. User-level authentication connects each Jira user to Grok Build, lets users find their running Cloud Agents from Jira in their Grok Dashboard, and uses each user's settings for routing, models, repositories, and defaults. If your Enterprise team turns on **Restrict Cloud Agent Usage**, every user must connect in either mode.

### What else needs to be set up before Grok Build can create PRs?

Connect GitHub, GitLab, Azure DevOps, or Bitbucket to Grok Build and make sure Cloud Agent settings include the repositories, models, and base branches your team wants to use.

### How do users continue a conversation with Grok Build?

Open Rovo chat from the Jira work item to continue the conversation with Grok Build. Alternately, open the Cloud Agent in the Agents Window and continue the conversation there.

## Disclaimer

Grok Build can make mistakes. Please double-check code and responses.

## Privacy policy

For information about how Grok Build collects, uses, and protects your data, see the [Privacy Policy](https://cursor.com/privacy).
