Jira Integration
Jira integration enables Annie to access your issue tracker, allowing it to search tickets, retrieve issue details, and correlate incidents with existing bugs, tasks, and historical issues.Setup Guide
The recommended way to connect is Connect with Atlassian (OAuth). One authorization covers both Jira and Confluence. You can still use an email + API token as a fallback.Option A: Connect with Atlassian (recommended)
- Go to the Anyshift integrations page
- Navigate to the Knowledge Base section
- Select Jira
- Click Connect with Atlassian
- Sign in to Atlassian and approve access for your site
- You return to Anyshift with the connected site shown (for example, your company Atlassian domain)
Option B: Email + API token (fallback)
Use this if your organization prefers API tokens, or if OAuth is unavailable.- Go to the Anyshift integrations page
- Navigate to the Knowledge Base section
- Select Jira
- Under the API token section, click Add
- Enter your Jira Domain, Email, and API Token
- Click Save
Jira Domain
Enter your Atlassian domain (e.g.,yourcompany.atlassian.net).
This is the URL you use to access Jira Cloud. For example, if you access Jira at https://acme.atlassian.net, enter acme.atlassian.net.
user@company.com).
API Token
Anyshift supports both scoped and classic Atlassian API tokens. Prefer scoped tokens for least-privilege access. No admin configuration is required. Any Atlassian user can create a token and connect their Jira instance. Scoped API token- Go to Atlassian API Token Management
- Click Create API token
- Select Scoped token type
- Enter a label (e.g., “Anyshift Integration”)
- Grant the following scopes:
read:jira-work- Read Jira issues and projectsread:jira-user- Read user informationread:servicedesk-request- Read service desk requestsread:me- Read your profile informationread:account- Read account information
- Click Create
- Copy the token and paste it into Anyshift
- Go to Atlassian API Token Management
- Click Create API token
- Select Classic token type
- Enter a label (e.g., “Anyshift Integration”)
- Click Create
- Copy the token and paste it into Anyshift
Required Permissions
Annie performs read-only operations on your Jira instance. Access follows the Atlassian account you authorize (OAuth) or the account tied to your API token. Your account needs access to:- View projects
- View issues and their details
- Search issues using JQL
How It Works
Once connected, Annie can leverage your Jira instance during:- Incident Investigation: When analyzing an incident, Annie searches for related issues, bugs, and historical tickets to find relevant context and past resolutions
- Question Answering: When you ask about specific tickets or projects, Annie retrieves the details directly from Jira
- Correlation: Annie can correlate alerts and incidents with existing Jira tickets to identify known issues
Example Use Cases
- “Search Jira for authentication issues from the last week”
- “Get details on ticket INFRA-1234”
- “Find all high-priority bugs in the Platform project”
- “What Jira tickets are related to Redis connection issues?”
JQL Query Examples
Annie can construct JQL queries automatically based on your questions:Supported Features
Annie can access the following Jira data: Issues- Search issues using JQL
- Get full issue details (summary, description, status, priority, assignee, etc.)
- View available status transitions
- List all accessible projects
- Get project details and metadata
- Get available issue types for a project
- Get custom field definitions
Project Scoping
You can optionally restrict which Jira projects Annie can access by specifying Allowed Projects when configuring credentials. Enter a comma-separated list of Jira project keys (e.g.,CSGSRE,SRESD,CTXSRESD). When configured:
- Searches are automatically scoped to the specified projects
- Direct issue access is restricted — Annie cannot fetch issues from projects not in the list
- Project listings only show the allowed projects
Security
- OAuth access and refresh tokens, and API tokens, are encrypted at rest using AWS KMS
- Anyshift only reads from your Jira instance (no write operations)
- All communication uses HTTPS/TLS encryption
- Credentials are validated against Atlassian APIs when you connect
Troubleshooting
OAuth connect fails or returns an error
- Consent cancelled: Start again with Connect with Atlassian and approve access.
- Wrong Atlassian account: Sign out of Atlassian in the browser, then reconnect with the account that can see your Jira site.
- Connection shows error status: Disconnect and reconnect with Atlassian so Anyshift can obtain a fresh grant.
”401 Unauthorized” or “Invalid credentials” error (API token)
This is usually caused by one of the following:-
Token missing required scopes (scoped tokens only): Ensure your scoped token has the
read:jira-work,read:jira-user,read:servicedesk-request,read:me, andread:accountscopes. - Email/token mismatch: Verify your email matches your Atlassian account email exactly.
- Expired or revoked token: Generate a new API token from your Atlassian account settings.
”No issues found” when searching
- Verify your account has permission to view the projects being searched
- Check that the JQL query syntax is valid
- Ensure issues exist matching your search criteria
Connection timeout
- For API token setup, verify your Jira domain is correct (e.g.,
yourcompany.atlassian.net) - Check that your Atlassian instance is accessible