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
- Go to the Anyshift integrations page
- Navigate to the Knowledge Base section
- Select Jira
- Click Connect Jira
- Enter your Jira Domain, Email, and API Token
- Click Save
1. 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.
2. Email
Enter the email address associated with your Atlassian account (e.g.,user@company.com).
3. API Token (Scoped Token Required)
Anyshift uses Atlassian’s official Remote MCP server, which requires a scoped API token. Classic API tokens are not supported.Step 1: Enable API Token Authentication (Admin Required)
An organization admin must first enable API token authentication for the Rovo MCP server:- Go to Atlassian Admin
- Navigate to Settings > Rovo > Manage external tool access
- Enable API token authentication for the MCP server
- Save your changes
Step 2: Create a Scoped API Token
Generate a scoped API Token with Jira read permissions:- Go to Atlassian API Token Management
- Click Create API token
- Select Scoped token type (not Classic)
- Enter a label (e.g., “Anyshift Integration”)
- Grant the following scopes:
read:jira-work- Read Jira issues and projectsread:jira-user- Read user information
- Click Create
- Copy the token and paste it into Anyshift
Required Permissions
Annie performs read-only operations on your Jira instance. Your API Token grants access based on your Atlassian account permissions. 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:| Question | JQL Query |
|---|---|
| ”Recent bugs” | type = Bug AND created >= -7d ORDER BY created DESC |
| ”Open high priority issues” | priority = High AND status != Done |
| ”Authentication issues” | text ~ "authentication" OR summary ~ "auth" |
| ”Issues in Platform project” | project = PLATFORM ORDER BY updated DESC |
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
Security
- 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 transmitted securely via Atlassian’s official Remote MCP server
Troubleshooting
”401 Unauthorized” or “Invalid credentials” error
This is usually caused by one of the following:- API token authentication not enabled: An organization admin must enable API token authentication for Rovo MCP. See Step 1 above.
- Using a classic token instead of scoped token: Classic API tokens do not work with Atlassian’s Remote MCP server. Create a scoped token with Jira read permissions. See Step 2 above.
-
Token missing required scopes: Ensure your scoped token has the
read:jira-workandread:jira-userscopes. - Email/token mismatch: Verify your email matches your Atlassian account email exactly.
”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
- Verify your Jira domain is correct (e.g.,
yourcompany.atlassian.net) - Check that your Atlassian instance is accessible
”You don’t have permission to connect via API token”
This error indicates that API token authentication has not been enabled by your organization admin. Contact your Atlassian admin to:- Go to Atlassian Admin > Settings > Rovo > Manage external tool access
- Enable API token authentication
- Save changes