Skip to main content

Jira Integration

Connect Agnox to Jira to create bug tickets directly from failed test executions — complete with AI-generated summaries, log excerpts, and a direct link back to the Investigation Hub.

Secrets are encrypted

Your Jira API token is stored encrypted with AES-256-GCM and is never returned in API responses or logs.


Capabilities

FeatureDescription
Manual ticket creationCreate a Jira issue from any execution in the Investigation Hub
AI pre-fillThe Auto Bug modal generates a title and description you can review before submitting
Issue type controlChoose Bug, Task, or any custom issue type in your project
Priority mappingMap Agnox severity to Jira priority levels
Bidirectional linkJira issue key is stored on the execution for quick navigation

Prerequisites

  • A Jira Cloud account (Jira Server/Data Center is not currently supported).
  • Project Admin or Create Issues permission in the target project.
  • A Jira API token linked to a user or service account.

Step 1 — Generate a Jira API Token

  1. Go to id.atlassian.com/manage-profile/security/api-tokens.
  2. Click Create API token, give it a label (e.g. Agnox), and copy the token.
Service accounts

For production use, generate the token under a dedicated Jira service-account email. This prevents tickets from losing context if a team member leaves.


Step 2 — Find Your Jira Site URL and Project Key

  • Site URL: https://your-org.atlassian.net
  • Project Key: The 2–4 letter prefix shown on every Jira issue (e.g. QA, PROJ). Find it in Project Settings → Details.

Step 3 — Configure in Agnox

  1. In the Agnox dashboard, go to Settings → Connectors.
  2. Find the Jira card and click Configure.
  3. Fill in the fields:
FieldValue
Jira Site URLhttps://your-org.atlassian.net
EmailEmail address of the token owner
API TokenToken from Step 1
Project Keye.g. QA
Default Issue TypeBug (recommended)
  1. Click Save. The card shows a Connected badge after validation.

Creating Tickets from Executions

From the Investigation Hub

  1. Open any FAILED or ERROR execution.
  2. Click Create Jira Ticket in the toolbar.
  3. A modal opens pre-filled with:
    • Summary: test name + failure type
    • Description: log excerpt + execution URL
  4. Edit and click Submit.

From the AI Auto Bug Modal

  1. In the execution drawer, click the ✨ Auto Bug button.
  2. Agnox generates a full bug report using the AI orchestrator.
  3. Click Submit to Jira — the modal opens with the AI-generated content already in place.
  4. Confirm and submit. The Jira issue key (e.g. QA-123) is saved to the execution record.

Troubleshooting

ErrorLikely Cause
401 UnauthorizedWrong email/token combination
403 ForbiddenThe user lacks Create Issues permission in the project
Project not foundProject key is incorrect — it is case-sensitive
Field requiredYour Jira project has mandatory custom fields; contact support for field mapping