Jira CLI Setup Jira can be configured headlessly with `kosmokrator integrations:configure jira`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure jira --set api_token=" $JIRA_API_TOKEN " --set base_url=" $JIRA_BASE_URL " --enable --read allow --write ask --json
kosmokrator integrations:doctor jira --json
kosmokrator integrations:status --json Credentials
Authentication type: API token api_token. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Call Jira Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call jira.jira_create_issue '{
"project_key": "example_project_key",
"summary": "example_summary",
"description": "example_description",
"issue_type": "example_issue_type",
"priority": "example_priority",
"assignee": "example_assignee",
"labels": "example_labels"
}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:jira jira_create_issue '{
"project_key": "example_project_key",
"summary": "example_summary",
"description": "example_description",
"issue_type": "example_issue_type",
"priority": "example_priority",
"assignee": "example_assignee",
"labels": "example_labels"
}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs jira --json
kosmo integrations:docs jira.jira_create_issue --json
kosmo integrations:schema jira.jira_create_issue --json
kosmo integrations:search "Jira" --json
kosmo integrations:list --json All CLI Functions
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Jira.
jira.jira_create_issue Write write Create a new issue in a Jira project. Requires project_key, summary, and issue_type. Optionally set description, priority, assignee, and labels.
project_key, summary, description, issue_type, priority, assignee, labels kosmo integrations:call jira.jira_create_issue '{"project_key":"example_project_key","summary":"example_summary","description":"example_description","issue_type":"example_issue_type","priority":"example_priority","assignee":"example_assignee","labels":"example_labels"}' --json copy kosmo integrations:jira jira_create_issue '{"project_key":"example_project_key","summary":"example_summary","description":"example_description","issue_type":"example_issue_type","priority":"example_priority","assignee":"example_assignee","labels":"example_labels"}' --json copy
jira.jira_get_issue Read read Get details for a specific Jira issue by its key (e.g. PROJ-123). Returns summary, status, assignee, description, and all fields.
key kosmo integrations:call jira.jira_get_issue '{"key":"example_key"}' --json copy kosmo integrations:jira jira_get_issue '{"key":"example_key"}' --json copy
jira.jira_update_issue Write write Update an existing Jira issue. Provide the issue key and any fields to update (summary, description, priority, assignee).
key, summary, description, priority, assignee kosmo integrations:call jira.jira_update_issue '{"key":"example_key","summary":"example_summary","description":"example_description","priority":"example_priority","assignee":"example_assignee"}' --json copy kosmo integrations:jira jira_update_issue '{"key":"example_key","summary":"example_summary","description":"example_description","priority":"example_priority","assignee":"example_assignee"}' --json copy
jira.jira_search_issues Read read Search for Jira issues using JQL (Jira Query Language). Examples: "project = PROJ AND status = Open", "assignee = currentUser() ORDER BY created DESC".
jql, start_at, max_results, fields kosmo integrations:call jira.jira_search_issues '{"jql":"example_jql","start_at":1,"max_results":1,"fields":"example_fields"}' --json copy kosmo integrations:jira jira_search_issues '{"jql":"example_jql","start_at":1,"max_results":1,"fields":"example_fields"}' --json copy
jira.jira_get_transitions Read read Get the available status transitions for a Jira issue. Returns transition IDs and target status names needed to change the issue status.
issue_key kosmo integrations:call jira.jira_get_transitions '{"issue_key":"example_issue_key"}' --json copy kosmo integrations:jira jira_get_transitions '{"issue_key":"example_issue_key"}' --json copy
jira.jira_transition_issue Write write Transition a Jira issue to a new status. Use jira_get_transitions first to find the available transition IDs for the issue.
issue_key, transition_id kosmo integrations:call jira.jira_transition_issue '{"issue_key":"example_issue_key","transition_id":"example_transition_id"}' --json copy kosmo integrations:jira jira_transition_issue '{"issue_key":"example_issue_key","transition_id":"example_transition_id"}' --json copy
jira.jira_assign_issue Write write Assign a Jira issue to a user by their Atlassian account ID. Use jira_search_users to find account IDs.
issue_key, account_id kosmo integrations:call jira.jira_assign_issue '{"issue_key":"example_issue_key","account_id":"example_account_id"}' --json copy kosmo integrations:jira jira_assign_issue '{"issue_key":"example_issue_key","account_id":"example_account_id"}' --json copy
jira.jira_delete_issue Write write Delete a Jira issue by its key. This action is irreversible.
key kosmo integrations:call jira.jira_delete_issue '{"key":"example_key"}' --json copy kosmo integrations:jira jira_delete_issue '{"key":"example_key"}' --json copy
jira.jira_list_projects Read read List Jira projects accessible to the authenticated user. Supports pagination with start_at and max_results.
start_at, max_results kosmo integrations:call jira.jira_list_projects '{"start_at":1,"max_results":1}' --json copy kosmo integrations:jira jira_list_projects '{"start_at":1,"max_results":1}' --json copy
jira.jira_get_issue_types Read read Get all available issue types in Jira. Returns issue type names and IDs needed when creating issues.
none kosmo integrations:call jira.jira_get_issue_types '{}' --json copy kosmo integrations:jira jira_get_issue_types '{}' --json copy
jira.jira_get_user Read read Get details for a specific Jira user by their Atlassian account ID.
account_id kosmo integrations:call jira.jira_get_user '{"account_id":"example_account_id"}' --json copy kosmo integrations:jira jira_get_user '{"account_id":"example_account_id"}' --json copy
jira.jira_search_users Read read Search for Jira users by name or email. Returns account IDs needed for assigning issues.
query, max_results kosmo integrations:call jira.jira_search_users '{"query":"example_query","max_results":1}' --json copy kosmo integrations:jira jira_search_users '{"query":"example_query","max_results":1}' --json copy
jira.jira_list_priorities Read read List all available issue priorities in Jira. Returns priority names and IDs needed when creating or updating issues.
none kosmo integrations:call jira.jira_list_priorities '{}' --json copy kosmo integrations:jira jira_list_priorities '{}' --json copy
jira.jira_list_boards Read read List agile boards accessible to the authenticated user. Supports pagination with start_at and max_results.
start_at, max_results kosmo integrations:call jira.jira_list_boards '{"start_at":1,"max_results":1}' --json copy kosmo integrations:jira jira_list_boards '{"start_at":1,"max_results":1}' --json copy
jira.jira_list_sprints Read read List sprints for a specific Jira board. Optionally filter by sprint state (active, closed, future).
board_id, state kosmo integrations:call jira.jira_list_sprints '{"board_id":1,"state":"example_state"}' --json copy kosmo integrations:jira jira_list_sprints '{"board_id":1,"state":"example_state"}' --json copy
jira.jira_list_sprint_issues Read read List issues in a specific Jira sprint. Supports pagination with start_at and max_results.
sprint_id, start_at, max_results kosmo integrations:call jira.jira_list_sprint_issues '{"sprint_id":1,"start_at":1,"max_results":1}' --json copy kosmo integrations:jira jira_list_sprint_issues '{"sprint_id":1,"start_at":1,"max_results":1}' --json copy
jira.jira_create_version Write write Create a new version (release) in a Jira project. Requires project_key and name. Optionally set description, start_date, and release_date.
project_key, name, description, start_date, release_date kosmo integrations:call jira.jira_create_version '{"project_key":"example_project_key","name":"example_name","description":"example_description","start_date":"example_start_date","release_date":"example_release_date"}' --json copy kosmo integrations:jira jira_create_version '{"project_key":"example_project_key","name":"example_name","description":"example_description","start_date":"example_start_date","release_date":"example_release_date"}' --json copy
jira.jira_add_attachment Write write Add a file attachment to a Jira issue. Provide the issue key, filename, and file content.
issue_key, filename, content kosmo integrations:call jira.jira_add_attachment '{"issue_key":"example_issue_key","filename":"example_filename","content":"example_content"}' --json copy kosmo integrations:jira jira_add_attachment '{"issue_key":"example_issue_key","filename":"example_filename","content":"example_content"}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Write write
Schema command kosmo integrations:schema jira.jira_create_issue --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_get_issue --json
Operation Write write
Schema command kosmo integrations:schema jira.jira_update_issue --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_search_issues --json
Operation Write write
Schema command kosmo integrations:schema jira.jira_add_comment --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_list_comments --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_get_transitions --json
Operation Write write
Schema command kosmo integrations:schema jira.jira_transition_issue --json
Operation Write write
Schema command kosmo integrations:schema jira.jira_assign_issue --json
Operation Write write
Schema command kosmo integrations:schema jira.jira_delete_issue --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_list_projects --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_get_issue_types --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_get_user --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_search_users --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_list_priorities --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_list_boards --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_list_sprints --json
Operation Read read
Schema command kosmo integrations:schema jira.jira_list_sprint_issues --json
Operation Write write
Schema command kosmo integrations:schema jira.jira_create_version --json
Operation Write write
Schema command kosmo integrations:schema jira.jira_add_attachment --json Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.