This guide explains how to connect Jira Data Center to an OpenHands Enterprise Replicated installation. The integration lets users start OpenHands from Jira issues by commenting withDocumentation Index
Fetch the complete documentation index at: https://allhandsai-alona-enterprise-data-center-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
@openhands or by adding the openhands label.

Prerequisites
- Jira Data Center administrator access to create users, personal access tokens, OAuth applications, and webhooks.
- Network access from OpenHands to Jira Data Center for API calls, and from Jira Data Center back to the OpenHands app URL for webhook delivery.
- If Jira Data Center uses an internal or self-signed certificate, upload the issuing CA in the OpenHands Enterprise Admin Console under Additional Trusted CA Certificates before deploying.
Jira Data Center setup is global for the OpenHands Enterprise installation.
Service account values are configured in the Admin Console. Webhook setup is
completed later inside OpenHands.
Create a Bot Token
Create a dedicated Jira user for OpenHands. For example, create a user namedopenhands with an email address such as openhands-bot@company.com.
OpenHands uses this bot account to read issues, add comments, and add
reactions. Grant it access to all Jira projects where OpenHands should read and
comment.
Next, sign in as the openhands user and create a Jira personal access token
from the user’s profile. This is the Jira bot token. Store it securely. You will
need to paste the bot account email and PAT into the OpenHands Enterprise Admin
Console.
Create a Jira OAuth Application
OAuth linking is recommended because it lets team members prove ownership of their Jira account before using OpenHands to process their Jira events. In Jira Data Center, open Administration > Applications > Application links and create a new link. When Jira asks what type of application to connect, choose External application. For the direction, choose Incoming because OpenHands connects to Jira during OAuth linking.
WRITE scope if Jira asks for scopes or permissions.


If your Jira Data Center installation cannot provide an OAuth application, you
can select email matching in the Admin Console instead. In that mode,
OpenHands links Jira users by matching their Jira email address to their
OpenHands email address.
Configure the Admin Console
Open the Replicated Admin Console for your OpenHands Enterprise installation and go to the application configuration page. In Jira Data Center Integration:- Enable Jira Data Center Integration.
- Select the user linking method:
- OAuth is recommended.
- Email match can be used if OAuth is not available.
- Enter the Jira Data Center Service Account Email.
- Enter the Jira Data Center Service Account PAT.
- If using OAuth, enter the Jira Data Center Base URL, including
https://. - If using OAuth, enter the Jira Data Center OAuth Client ID and OAuth Client Secret.
- Save and deploy the updated configuration.
Install the Jira Webhook
After OpenHands is deployed, sign in to OpenHands and open Settings > Integrations > Jira Data Center. If OAuth is enabled, click Connect and complete the Jira OAuth flow. Then set up the webhook using one of the options below.Automatic setup
Choose Install automatically and paste a short-lived Jira admin PAT. OpenHands uses this PAT once to call Jira’s webhook API and then discards it. The PAT is never stored. The automatic setup creates or updates a Jira global webhook namedOpenHands that points to this OpenHands URL.
Manual setup
Choose Set it up in Jira myself, then click Generate webhook details. OpenHands saves the connection and shows a webhook URL and signing secret.
jira:issue_createdjira:issue_updatedjira:issue_deletedcomment_createdcomment_updatedcomment_deleted
Link Users
Each user who wants to invoke OpenHands from Jira should sign in to OpenHands and connect their Jira Data Center account from Settings > Integrations > Jira Data Center. When a Jira event arrives, OpenHands resolves the Jira user to an OpenHands user. If a user has an OpenHands account but has not linked Jira Data Center, OpenHands will comment on the issue asking the user to link their account and try again.Trigger OpenHands from Jira
Create or update a Jira issue with clear requirements. Include the target repository in the issue description or in a follow-up comment, for example:- A Jira comment containing
@openhands. - The
openhandslabel on the issue.
Troubleshooting
| Symptom | Check |
|---|---|
| The Jira Data Center card is not visible in OpenHands | Confirm Jira Data Center Integration is enabled in the Admin Console and the deployment has been applied. |
| OAuth redirects fail | Confirm the Jira OAuth callback URL exactly matches https://app.<your-openhands-domain>/integration/jira-dc/callback. |
| Automatic webhook setup fails | Confirm the admin PAT belongs to a Jira user allowed to create global webhooks. |
Webhook deliveries return 403 | Confirm the webhook URL and signing secret match the values generated by OpenHands. |
| Webhook deliveries reach OpenHands but no job starts | Confirm the Jira user is linked, the integration is active, the comment contains @openhands or the issue update added the openhands label, and the user has access to the repository. |
| OAuth, issue reads, or automatic webhook setup fail with connection errors | Confirm the OpenHands cluster can reach the Jira Data Center URL. |
| Jira webhook deliveries do not reach OpenHands | Confirm the Jira Data Center network can reach the OpenHands app URL. |
| Jira API calls fail with TLS errors | Upload the Jira Data Center CA certificate in Additional Trusted CA Certificates and redeploy. |

