Troubleshooting
Troubleshooting
Section titled “Troubleshooting”Common issues and solutions for atlcli.
Authentication Errors
Section titled “Authentication Errors”401 Unauthorized
Section titled “401 Unauthorized”Error: Authentication failed (401)Causes:
- Invalid or expired API token
- Wrong email address
- Incorrect instance URL
Solutions:
- Regenerate API token at Atlassian Account
- Verify email matches your Atlassian account
- Check URL includes
https://
atlcli auth init # Re-initialize credentials403 Forbidden
Section titled “403 Forbidden”Error: You don't have permission (403)Causes:
- Account lacks required permissions
- Project/space access restricted
Solutions:
- Verify account has access to the project/space
- Contact your Atlassian admin for permissions
Connection Errors
Section titled “Connection Errors”Network Timeout
Section titled “Network Timeout”Error: Request timeoutSolutions:
- Check internet connection
- Verify Atlassian status at status.atlassian.com
- Try again with
--verbosefor details
SSL Certificate Error
Section titled “SSL Certificate Error”Error: self signed certificate in certificate chainError: unable to verify the first certificateError: Unable to verify certificateCauses:
- On-premises Jira/Confluence Data Center using a self-signed certificate
- Instance certificate issued by an internal / enterprise Certificate Authority not in the system trust store
- Corporate TLS-intercepting proxy
Solutions:
-
Point atlcli at your internal CA (recommended). Re-run login with
--ca-file:Terminal window atlcli auth login --bearer --site https://jira.company.internal \--token YOUR_PAT --ca-file /etc/ssl/certs/company-ca.pemThe CA file path is persisted on the profile and used for every subsequent request. See TLS and Self-Signed Certificates.
-
Install the CA into your system trust store (alternative) — appropriate when many tools on the machine need it, not just atlcli.
-
Check for a corporate TLS-intercepting proxy — if traffic is being MITM’d by a proxy, you’ll need its root CA from your IT team.
-
Last resort: skip verification with
--insecure— only appropriate for disposable test instances. Never use in production, as it disables protection against MITM attacks:Terminal window atlcli auth login --bearer --site https://jira.test.local --token YOUR_PAT --insecure
Confluence Issues
Section titled “Confluence Issues”Sync Conflicts
Section titled “Sync Conflicts”Conflict: file.md was modified both locally and on ConfluenceSolutions:
- Pull latest changes:
atlcli wiki docs pull - Merge manually
- Force push:
atlcli wiki docs push --force
Page Not Found
Section titled “Page Not Found”Error: Page not found (404)Causes:
- Page was deleted on Confluence
- Page ID changed
Solutions:
- Re-pull directory:
atlcli wiki docs pull - Remove stale local file
Jira Issues
Section titled “Jira Issues”Invalid JQL
Section titled “Invalid JQL”Error: Invalid JQL querySolutions:
- Check JQL syntax
- Verify field names exist
- Quote values with spaces
# Correctatlcli jira search --jql "status = 'In Progress'"
# Wrongatlcli jira search --jql "status = In Progress"Issue Type Not Found
Section titled “Issue Type Not Found”Error: Issue type 'Bug' not found in projectSolutions:
- List available types:
atlcli jira field list --type issuetype - Use correct type name for your project
Field Not Editable
Section titled “Field Not Editable”Error: Field 'status' cannot be set directlySolutions:
- Use transitions for status changes
- Some fields are read-only
atlcli jira issue transition --key PROJ-123 --to "Done"Performance
Section titled “Performance”Slow Commands
Section titled “Slow Commands”Solutions:
- Use
--limitto reduce results - Use more specific JQL
- Check network latency
High Memory Usage
Section titled “High Memory Usage”Solutions:
- Process results in batches
- Use
--jsonand pipe tojqfor large datasets
Debug Mode
Section titled “Debug Mode”Enable verbose output:
ATLCLI_LOG_LEVEL=debug atlcli jira search --assignee meGetting Help
Section titled “Getting Help”- Check this documentation
- Search GitHub Issues
- Open a new issue with:
- atlcli version
- Command that failed
- Full error message
- Steps to reproduce
Related Topics
Section titled “Related Topics”- Doctor - Automated health checks
- Logging - Debug with logs
- Authentication - Profile setup