Automate Jira Service Management from your terminal. Service desks, requests, customers, and queues — scriptable ITSM operations.
Service management automation from the command line
List and inspect service desks. Get desk details including request types, portal settings, and queue configuration.
List, get, and filter service requests. View request details, status, and resolution. Scriptable ticket triage workflows.
Manage customers and organizations. List portal users, add customers to service desks, and audit access.
Monitor SLA compliance across service desks. Track time-to-first-response and time-to-resolution metrics via CLI.
Access knowledge base articles linked to service desks. Integrate KB content into automated workflows and runbooks.
Query and manage service desk queues. Filter requests by status, priority, and assignee. Pipe output to scripts.
Automate service management tasks
# List recent service requests
atlassian-cli jsm request list --limit 10
# Get details of a specific request
atlassian-cli jsm request get SD-123
# Output as JSON for scripting
atlassian-cli jsm request list \
--limit 50 --output json
# Export requests to CSV
atlassian-cli jsm request list \
--output csv > requests.csv
# List service desks to find the desk ID
atlassian-cli jsm servicedesk list
# List requests filtered by service desk
atlassian-cli jsm request list \
--limit 20 --output json
# Get request details with full metadata
atlassian-cli jsm request get SD-456 \
--output json
# Combine with Jira for cross-product views
atlassian-cli jira search \
--jql "project = SD ORDER BY created DESC" \
--limit 10
# List all service desks
atlassian-cli jsm servicedesk list --limit 10
# Get service desk details as JSON
atlassian-cli jsm servicedesk list \
--output json
# Use profiles for different instances
atlassian-cli jsm servicedesk list \
--profile production
# Combine with table output for quick overview
atlassian-cli jsm request list \
--limit 25 --output table
Set up JSM CLI access in seconds
# Install via Homebrew
brew install omar16100/atlassian-cli/atlassian-cli
# Configure authentication
atlassian-cli auth login \
--profile work \
--base-url your-domain.atlassian.net \
--email you@company.com
# Verify connection
atlassian-cli auth test --profile work
# List your service desks
atlassian-cli jsm servicedesk list
# View recent requests
atlassian-cli jsm request list --limit 5
Learn more about atlassian-cli