Skip to main content

Common Issues

  • Ensure you’re using API tokens, not your account password
  • Verify the token hasn’t expired
  • Check that JIRA_USERNAME / CONFLUENCE_USERNAME is your email address
  • Verify your Personal Access Token is valid and not expired
  • For older Confluence servers, try basic auth with CONFLUENCE_USERNAME and CONFLUENCE_API_TOKEN (where token is your password)
mcp-atlassian uses the OS native trust store by default (via truststore), so certificates signed by enterprise CAs installed in Windows Certificate Store, macOS Keychain, or the Linux system CA bundle are trusted automatically.If you still see SSL errors with self-signed certificates that are not in the OS trust store, disable verification:
To disable the OS trust store integration (fall back to the bundled certifi CA bundle):
Ensure your Atlassian account has sufficient permissions to access the spaces/projects you’re targeting.

Debugging

Enable Verbose Logging

View Logs

MCP Inspector

Test your configuration interactively:

Debugging Custom Headers

Verify Headers Are Applied

  1. Enable debug logging:
  2. Check logs for header confirmation:

Correct Header Format

Header values containing sensitive information are automatically masked in logs.

Authentication Errors

Cause: Invalid or expired API token.Fix:
  1. Verify your API token at id.atlassian.com/manage-profile/security/api-tokens
  2. Ensure JIRA_USERNAME matches the email associated with the token
  3. Check that the token hasn’t been revoked
Symptom: Reading pages works, but confluence_get_page_images returns downloaded: 0 (every image "Fetch failed") and confluence_download_attachment / confluence_download_content_attachments fail. Logs show 401 ... /wiki/download/attachments/....Cause: Confluence Cloud removed the legacy /download/attachments/... endpoint (changelog CHANGE-2735 / “Deprecation of /download/attachments/ APIs”). It now returns 401 for API-token / scoped-token auth, while metadata endpoints keep working.Fix: On Cloud this is handled automatically — downloads use the v1 REST endpoint /rest/api/content/{id}/child/attachment/{aid}/download. To force the behaviour, set CONFLUENCE_ATTACHMENT_DOWNLOAD_USE_V1=true (or false to keep the legacy link).
Cause: Invalid PAT or PAT doesn’t have required permissions.Fix:
  1. Create a new PAT in your Jira/Confluence profile settings
  2. Ensure the PAT has sufficient permissions for the operations you need
  3. Note: Server/DC limits PAT count (max 10 per user)
Cause: Your account doesn’t have permission for the requested operation.Fix:
  • Verify your Jira/Confluence project permissions
  • For write operations, ensure your account has edit permissions
  • For admin-only fields, you may need project admin access
  • Check if READ_ONLY_MODE=true is blocking write tools
Cause: OAuth access token has expired and refresh failed.Fix:
  1. Re-run the OAuth setup: mcp-atlassian --oauth-setup
  2. Ensure your app has offline_access scope for refresh tokens
  3. Check if the OAuth app is still active in your Atlassian developer console

Field and Data Errors

Cause: Custom field ID doesn’t exist or isn’t available on the issue type.Fix:
  1. Use jira_search_fields to find the correct field ID
  2. Check if the field is available on the target issue type’s screen
  3. Custom field IDs differ between Cloud and Server/DC instances
Symptom: A tool call fails before reaching Jira with a validation error such as project_key: String should match pattern '^[A-Z][A-Z0-9_]+$', even though the project exists and the key is correct.Cause: issue_key and project_key arguments are validated against a regex first. The defaults require an uppercase letter followed by at least one more character, which is the fixed Cloud format. Server/Data Center instances configure their own jira.projectkey.pattern and may allow keys the defaults reject — a leading digit (4ME), a single character, or lowercase.Fix: Widen the patterns to match your instance, then restart the server (they are read once at startup):
See Jira Key Validation.
Cause: The specified issue type doesn’t exist in the project.Fix:
  • Use jira_get_all_projects to see available issue types per project
  • Issue type names are case-sensitive
  • Some issue types (e.g., “Epic”) may require specific project configurations
Cause: File exceeds the 50MB attachment limit.Fix:
  • MCP Atlassian limits inline attachment downloads to 50MB
  • For larger files, access attachments directly via the Jira/Confluence web UI
  • Consider compressing files before uploading

Rate Limiting

Cause: You’ve exceeded the Atlassian API rate limit.Fix:
  • Atlassian Cloud: ~100 requests per minute per user (varies)
  • Server/DC: depends on instance configuration
  • Add delays between bulk operations
  • Use batch tools (jira_batch_create_issues, jira_batch_get_changelogs) instead of individual calls
  • Consider using ENABLED_TOOLS to limit which tools are available

Connection Issues

Cause: Server/DC instance uses a self-signed or internal CA certificate.Fix:
For mTLS (mutual TLS) authentication, set either a combined cert/key PEM:
Or set separate certificate and key files:
Cause: Atlassian instance is unreachable or slow to respond.Fix:
  • Default timeout is 75 seconds
  • Increase timeout for slow instances:
  • Check if a proxy is required:
  • If your network uses PAC/WPAD, enable it explicitly:

Getting Help

  • Check GitHub Issues for known problems
  • Review SECURITY.md for security-related concerns
  • Open a new issue with debug logs if the problem persists