jira
Installation
SKILL.md
Jira (atl CLI)
Prerequisites
Before running any Jira command, verify the CLI is available and authenticated:
-
Run
atl --version. If it fails, stop and tell the user:The
atlCLI is not installed. Install it withnpm i -g @ai-foundry/atlassian-bridgeand then runatl auth login.Note:
atlis NOT the official Atlassian CLI. It is a community project (@ai-foundry/atlassian-bridge). -
Run
atl auth status. If not authenticated, stop and tell the user:You are not logged in. Run
atl auth loginto authenticate with your Atlassian account.
Only proceed once both checks pass.
Available Commands
Issues
| Action | Command |
|---|---|
| Get | atl jira issues get <issueKey> |
| Create | atl jira issues create <summary> --project <key> --type <name> [--description <adf>] [--parent <key>] [--labels <csv>] |
| Update | atl jira issues update <issueKey> [--summary <text>] [--description <adf>] [--parent <key>] [--labels <csv>] [--status <name>] |
| Delete | atl jira issues delete <issueKey> |
| Search | atl jira issues search <jql> [--limit <n>] [--cursor <token>] [--fields <csv>] |
| Children | atl jira issues children <issueKey> |
| List Attachments | atl jira issues list-attachments <issueKey> |
| Get Attachment | atl jira issues get-attachment <attachmentId> |
Attachments
| Action | Command |
|---|---|
| List | atl jira attachments list <issueKey> |
| Get | atl jira attachments get <attachmentId> |
Comments
| Action | Command |
|---|---|
| List | atl jira comments list <issueKey> [--limit <n>] [--cursor <n>] |
| Get | atl jira comments get <commentId> --issue <issueKey> |
| Add | atl jira comments add <issueKey> --body <adf> |
| Update | atl jira comments update <commentId> --issue <issueKey> --body <adf> |
| Delete | atl jira comments delete <commentId> --issue <issueKey> |
Projects
| Action | Command |
|---|---|
| Get | atl jira projects get <keyOrId> |
| List | atl jira projects list [--limit <n>] [--cursor <token>] [--query <text>] |
Guidelines
- When the user mentions an issue, expect a key like
PROJ-123. Use it directly withatl jira issues get. - For search, build a valid JQL query from the user's intent (e.g.
project = PIXEL AND status = "In Progress" AND assignee = currentUser()). - When creating issues,
--projectand--typeare required. Common types:Task,Bug,Story,Epic,Sub-task. - When creating or updating issues with
--description, the value must be valid ADF (Atlassian Document Format) JSON. - When adding or updating comments with
--body, the value must be valid ADF JSON. Wrap in single quotes to prevent shell expansion of brackets. - For
get,update, anddeleteon comments,--issueis required to identify which issue the comment belongs to. - Always show the user the command you are about to run before executing it.
Related skills