Skip to content

Expand Jira integration docs with use case and examples#428

Open
jpelletier1 wants to merge 2 commits intomainfrom
openhands/expand-jira-docs
Open

Expand Jira integration docs with use case and examples#428
jpelletier1 wants to merge 2 commits intomainfrom
openhands/expand-jira-docs

Conversation

@jpelletier1
Copy link
Copy Markdown
Contributor

  • I have read and reviewed the documentation changes to the best of my ability.
  • If the change is significant, I have run the documentation site locally and confirmed it renders as expected.

Summary of changes

This PR expands the Jira integration documentation to include a comprehensive overview section explaining the main use case for the integration.

Changes made:

  • Added Overview section explaining how OpenHands can automatically implement requirements from Jira tickets
  • Added How It Works subsection documenting the workflow:
    • How to specify the repository (in ticket body or comment)
    • How to trigger OpenHands (via openhands label or @openhands mention)
  • Added Example Ticket subsection with a complete example showing proper ticket structure including:
    • Clear title and user story
    • Repository specification
    • Acceptance criteria

Files modified:

  • openhands/usage/cloud/project-management/jira-integration.mdx (Jira Cloud)
  • openhands/usage/cloud/project-management/jira-dc-integration.mdx (Jira Data Center)

Both files now provide clear guidance to users on how to use the Jira integration for automated development workflows.

Fixes #427

@jpelletier1 can click here to continue refining the PR

- Added Overview section explaining the main use case
- Documented how to trigger OpenHands (label or @mention)
- Included example ticket structure with repository specification
- Applied to both Jira Cloud and Jira Data Center docs

Fixes #427

Co-authored-by: openhands <openhands@all-hands.dev>
@jpelletier1 jpelletier1 requested a review from mamoodi as a code owner April 1, 2026 14:45
@mintlify
Copy link
Copy Markdown

mintlify bot commented Apr 1, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
all-hands-ai 🟢 Ready View Preview Apr 1, 2026, 2:46 PM

Copy link
Copy Markdown
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

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

Good addition of usage docs. Verified against source code. Found a few inaccuracies around repository provider naming and mention syntax that should be corrected.


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


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

```
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.


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

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.

Co-authored-by: OpenHands Bot <contact@all-hands.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand Jira docs

3 participants