Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,16 +1,55 @@
---
title: Jira Data Center Integration (Coming soon...)

Check warning on line 2 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L2

Did you really mean 'Jira'?
description: Complete guide for setting up Jira Data Center integration with OpenHands Cloud, including service account creation, personal access token generation, webhook configuration, and workspace integration setup.

Check warning on line 3 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L3

Did you really mean 'Jira'?
---

# Jira Data Center Integration

Check warning on line 6 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L6

Did you really mean 'Jira'?

## Overview

The Jira Data Center integration enables you to use OpenHands to automatically implement requirements from Jira tickets. When you create a ticket with clear requirements and acceptance criteria, OpenHands can read the ticket, generate an implementation plan, and create a pull request in your linked repository.

Check warning on line 10 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L10

Did you really mean 'Jira'?

Check warning on line 10 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L10

Did you really mean 'Jira'?

### How It Works

Once configured, you can request OpenHands to work on a Jira ticket by:

Check warning on line 14 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L14

Did you really mean 'Jira'?

1. **Specify the Repository**: Include the repository location in either:
- The ticket body itself, or
- A comment on the ticket

2. **Trigger OpenHands**: Activate the agent using one of these methods:
- Add an `openhands` label to the ticket
- Comment with: `@openhands please review these requirements, generate a plan, and then proceed with implementation`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Important: Same issue as jira-integration.mdx line 22. The exact text after @openhands doesn't matter - any comment containing the mention will trigger OpenHands.

See my comment on the other file for details and suggested fixes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on it! all-hands-bot can track my progress at all-hands.dev


OpenHands will then read the ticket, understand the requirements, and generate a conversation that results in a pull request implementing the requested changes.

### Example Ticket

Here's an example of how to structure a Jira ticket for OpenHands:

Check warning on line 28 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L28

Did you really mean 'Jira'?

**Title:** Add SAML Support

**Body:**
```
As an administrator for my web app, I want to configure SAML so I can provide secure access to my system.

GitHub repository: AcmeCo/WebApp
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Suggestion: Same as jira-integration.mdx line 36. Should say "Repository:" or "Git repository:" instead of "GitHub repository:" since it supports multiple providers.

See my comment on the other file for details.


AC:
- Verify an administrator can configure SAML settings
- Verify an end user can authenticate via SAML
```

After creating this ticket, you can either add the `openhands` label or comment with `@openhands please review these requirements, generate a plan, and then proceed with implementation` to start the automation process.

---

## Platform Configuration

### Step 1: Create Service Account

1. **Access User Management**
- Log in to Jira Data Center as administrator

Check warning on line 52 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L52

Did you really mean 'Jira'?
- Go to **Administration** > **User Management**

2. **Create User**
Expand Down Expand Up @@ -63,11 +102,11 @@
- Sign in with your Git provider (GitHub, GitLab, or BitBucket)
- **Important:** Make sure you're signing in with the same Git provider account that contains the repositories you want the OpenHands agent to work on.

### Step 2: Configure Jira Data Center Integration

Check warning on line 105 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L105

Did you really mean 'Jira'?

1. **Access Integration Settings**
- Navigate to **Settings** > **Integrations**
- Locate **Jira Data Center** section

Check warning on line 109 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L109

Did you really mean 'Jira'?

2. **Configure Workspace**
- Click **Configure** button
Expand All @@ -79,7 +118,7 @@
- Ensure **Active** toggle is enabled

<Note>
Workspace name is the host name of your Jira Data Center instance.

Check warning on line 121 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L121

Did you really mean 'Jira'?

Eg: http://jira.all-hands.dev/projects/OH/issues/OH-77

Expand All @@ -87,7 +126,7 @@
</Note>

3. **Complete OAuth Flow**
- You'll be redirected to Jira Data Center to complete OAuth verification

Check warning on line 129 in openhands/usage/cloud/project-management/jira-dc-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-dc-integration.mdx#L129

Did you really mean 'Jira'?
- Grant the necessary permissions to verify your workspace access. If you have access to multiple workspaces, select the correct one that you initially provided
- If successful, you will be redirected back to the **Integrations** settings in the OpenHands Cloud UI

Expand Down
39 changes: 39 additions & 0 deletions openhands/usage/cloud/project-management/jira-integration.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,49 @@
---
title: Jira Cloud Integration

Check warning on line 2 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L2

Did you really mean 'Jira'?
description: Complete guide for setting up Jira Cloud integration with OpenHands Cloud, including service account creation, API token generation, webhook configuration, and workspace integration setup.

Check warning on line 3 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L3

Did you really mean 'Jira'?
---

# Jira Cloud Integration

Check warning on line 6 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L6

Did you really mean 'Jira'?

## Overview

The Jira Cloud integration enables you to use OpenHands to automatically implement requirements from Jira tickets. When you create a ticket with clear requirements and acceptance criteria, OpenHands can read the ticket, generate an implementation plan, and create a pull request in your linked repository.

Check warning on line 10 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L10

Did you really mean 'Jira'?

Check warning on line 10 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L10

Did you really mean 'Jira'?

### How It Works

Once configured, you can request OpenHands to work on a Jira ticket by:

Check warning on line 14 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L14

Did you really mean 'Jira'?

1. **Specify the Repository**: Include the repository location in either:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Acceptable: The documentation says "either the ticket body itself, or a comment" which is clear enough. The implementation (enterprise/integrations/jira/jira_view.py) searches both the issue description and comments for repository patterns, so this is technically accurate.

Might optionally clarify that both are searched together (not mutually exclusive), but not critical.

- The ticket body itself, or
- A comment on the ticket

2. **Trigger OpenHands**: Activate the agent using one of these methods:
- Add an `openhands` label to the ticket
- Comment with: `@openhands please review these requirements, generate a plan, and then proceed with implementation`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Important: This is misleading. The exact text after @openhands doesn't matter.

I verified in the source code (enterprise/integrations/jira/jira_payload.py) that it uses has_exact_mention() which only checks for the presence of @openhands (case-insensitive) in the comment. The specific wording after it is irrelevant.

Suggested fix:

Suggested change
- Comment with: `@openhands please review these requirements, generate a plan, and then proceed with implementation`
- Comment with `@openhands` (you can include any text describing what you want done)

Or provide a more accurate example like:

Comment with: @openhands implement this ticket

But clarify that the text after @openhands can be anything.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on it! all-hands-bot can track my progress at all-hands.dev


OpenHands will then read the ticket, understand the requirements, and generate a conversation that results in a pull request implementing the requested changes.

### Example Ticket

Here's an example of how to structure a Jira ticket for OpenHands:

Check warning on line 28 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L28

Did you really mean 'Jira'?

**Title:** Add SAML Support

**Body:**
```
As an administrator for my web app, I want to configure SAML so I can provide secure access to my system.

Repository: AcmeCo/WebApp

AC:
- Verify an administrator can configure SAML settings
- Verify an end user can authenticate via SAML
```

After creating this ticket, you can either add the `openhands` label or comment with `@openhands please review these requirements, generate a plan, and then proceed with implementation` to start the automation process.

---

## Platform Configuration

### Step 1: Create Service Account
Expand All @@ -19,7 +58,7 @@
- Click **Create a service account**
- Name: `OpenHands Agent`
- Click **Next**
- Select **User** role for Jira app

Check warning on line 61 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L61

Did you really mean 'Jira'?
- Click **Create**

### Step 2: Generate API Token
Expand All @@ -30,7 +69,7 @@
- Set the expiry to 365 days (maximum allowed value)
- Click **Next**
- In **Select token scopes** screen, filter by following values
- App: Jira

Check warning on line 72 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L72

Did you really mean 'Jira'?
- Scope type: Classic
- Scope actions: Write, Read
- Select `read:me`, `read:jira-work`, and `write:jira-work` scopes
Expand All @@ -41,7 +80,7 @@
### Step 3: Configure Webhook

1. **Navigate to Webhook Settings**
- Go to **Jira Settings** > **System** > **WebHooks**

Check warning on line 83 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L83

Did you really mean 'Jira'?
- Click **Create a WebHook**

2. **Configure Webhook**
Expand All @@ -66,16 +105,16 @@
- Sign in with your Git provider (GitHub, GitLab, or BitBucket)
- **Important:** Make sure you're signing in with the same Git provider account that contains the repositories you want the OpenHands agent to work on.

### Step 2: Configure Jira Integration

Check warning on line 108 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L108

Did you really mean 'Jira'?

1. **Access Integration Settings**
- Navigate to **Settings** > **Integrations**
- Locate **Jira Cloud** section

Check warning on line 112 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L112

Did you really mean 'Jira'?

2. **Configure Workspace**
- Click **Configure** button
- Enter your workspace name and click **Connect**
- **Important:** Make sure you enter the full workspace name, eg: **yourcompany.atlassian.net**

Check warning on line 117 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L117

Did you really mean 'eg'?
- If no integration exists, you'll be prompted to enter additional credentials required for the workspace integration:
- **Webhook Secret**: The webhook secret from Step 3 above
- **Service Account Email**: The service account email from Step 1 above
Expand All @@ -83,7 +122,7 @@
- Ensure **Active** toggle is enabled

<Note>
Workspace name is the host name when accessing a resource in Jira Cloud.

Check warning on line 125 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L125

Did you really mean 'Jira'?

Eg: https://all-hands.atlassian.net/browse/OH-55

Expand All @@ -91,7 +130,7 @@
</Note>

3. **Complete OAuth Flow**
- You'll be redirected to Jira Cloud to complete OAuth verification

Check warning on line 133 in openhands/usage/cloud/project-management/jira-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (allhandsai) - vale-spellcheck

openhands/usage/cloud/project-management/jira-integration.mdx#L133

Did you really mean 'Jira'?
- Grant the necessary permissions to verify your workspace access.
- If successful, you will be redirected back to the **Integrations** settings in the OpenHands Cloud UI

Expand Down
Loading