jira
npx machina-cli add skill TonyCasey/lisa/jira --openclawPurpose
Model-neutral helper to interact with Jira via Atlassian REST API v3. Supports creating issues, listing, viewing, assigning, and transitioning.
Triggers
Use when the user says: "create a jira ticket", "list jira issues", "jira create", "show jira issue", "assign ticket".
Configuration
Reads from ~/.jira.d/:
config.yml- endpoint, user, authentication-methodapi-token- raw API token (no variable assignment)
Example config.yml:
endpoint: https://yourcompany.atlassian.net
user: your.email@company.com
authentication-method: api-token
How to use
Create Issue
# Create Epic
lisa jira create --type epic --project PROJ --summary "Feature title" --description "Description text"
# Create Story
lisa jira create --type story --project PROJ --summary "Story title" --parent PROJ-123
# Create Sub-task
lisa jira create --type subtask --project PROJ --summary "Sub-task title" --parent PROJ-123
# Create with assignment
lisa jira create --type task --project PROJ --summary "Task" --assign me
List Issues
# List by project
lisa jira list --project PROJ --limit 10
# List with JQL
lisa jira list --jql "assignee = currentUser() ORDER BY created DESC" --limit 5
# List my issues
lisa jira list --mine --limit 10
View Issue
lisa jira view PROJ-123
Assign Issue
# Assign to self
lisa jira assign PROJ-123 --to me
# Assign to user
lisa jira assign PROJ-123 --to "user@company.com"
Transition Issue
# Move to In Progress
lisa jira transition PROJ-123 --to "In Progress"
# Move to Done
lisa jira transition PROJ-123 --to "Done"
# Move to Code Review
lisa jira transition PROJ-123 --to "Code Review"
Change Issue Type
# Change Epic to Story
lisa jira change-type PROJ-123 --to story
# Change to Task
lisa jira change-type PROJ-123 --to task
Valid types: epic, story, task, subtask, bug
Workflow: PR Created
When a Pull Request is created, transition all associated Jira tickets to "Code Review":
- Identify the ticket(s) from the branch name (e.g.,
PROJ-123) - Check if the ticket has subtasks (use
viewcommand) - Transition the main ticket and ALL subtasks to "Code Review"
# Example: Transition epic and all subtasks to Code Review
lisa jira transition PROJ-123 --to "Code Review"
# For subtasks (if in "To Do", first move to "In Progress")
for ticket in PROJ-124 PROJ-125 PROJ-126; do
lisa jira transition "$ticket" --to "Code Review"
done
Note: If a ticket is in "To Do", you may need to transition through "In Progress" first:
lisa jira transition PROJ-123 --to "In Progress"
lisa jira transition PROJ-123 --to "Code Review"
See also: git skill for PR creation, CI triggers, and test retriggers.
I/O Contract (examples)
Create
{
"status": "ok",
"action": "create",
"issue": {
"key": "PROJ-123",
"url": "https://company.atlassian.net/browse/PROJ-123",
"summary": "Feature title",
"type": "Epic"
}
}
List
{
"status": "ok",
"action": "list",
"issues": [
{"key": "PROJ-123", "summary": "...", "status": "To Do", "assignee": "John Doe"}
],
"total": 10
}
View
{
"status": "ok",
"action": "view",
"issue": {
"key": "PROJ-123",
"summary": "...",
"description": "...",
"status": "To Do",
"assignee": "John Doe",
"reporter": "...",
"created": "2026-01-13T...",
"subtasks": [...]
}
}
Change Type
{
"status": "ok",
"action": "change-type",
"issue": {
"key": "PROJ-123",
"url": "https://company.atlassian.net/browse/PROJ-123",
"previousType": "Epic",
"newType": "story"
}
}
Error
{
"status": "error",
"error": "Authentication failed",
"details": "..."
}
Issue Types
Standard Jira issue types (IDs may vary by project):
epic(10000) - Parent for featuresstory(10001) - User storiestask(10002) - General taskssubtask(10003) - Sub-tasks linked to parentbug(10004) - Bug reports
Cross-model checklist
- Claude: concise instructions; use JSON output for parsing
- Gemini: explicit commands and minimal formatting
Notes
- All commands use the
lisaCLI binary — no scripts to run directly. - API token must have project access permissions
- Description uses Atlassian Document Format (ADF) internally
- Rate limits apply per Atlassian Cloud policies
Source
git clone https://github.com/TonyCasey/lisa/blob/main/src/project/.lisa/skills/jira/SKILL.mdView on GitHub Overview
A model-neutral helper to interact with Jira via Atlassian REST API v3. It supports creating, listing, viewing, assigning, and transitioning issues to streamline Jira workflows.
How This Skill Works
The skill exposes commands like lisa jira create, list, view, assign, transition, and change-type. It authenticates against your Jira instance using ~/.jira.d/config.yml and an api-token, then issues REST API v3 calls to manage Jira issues.
When to Use It
- You need to create a Jira issue (epic, story, task, subtask, or bug) in a project.
- You want to fetch a filtered set of issues (by project, JQL, or assigned to you).
- You need to view details for a specific issue by key (e.g., PROJ-123).
- You want to assign an issue to yourself or another user.
- Your PR workflow requires moving related issues to Code Review after a merge.
Quick Start
- Step 1: Ensure ~/.jira.d/config.yml and the api-token exist and point to your Jira instance.
- Step 2: Try a quick create, e.g., 'lisa jira create --type epic --project PROJ --summary "Feature title"'.
- Step 3: List or view issues to verify setup, e.g., 'lisa jira list --project PROJ --limit 5' or 'lisa jira view PROJ-123'.
Best Practices
- Keep Jira credentials secure in ~/.jira.d/; do not share tokens.
- Always use the correct issue type from the Valid types list.
- Use --jql for precise issue lists and --mine to fetch your issues.
- Verify the issue key before performing actions (e.g., PROJ-123).
- Use 'lisa jira assign PROJ-123 --to me' to quickly assign issues to yourself.
Example Use Cases
- Create an Epic for a new feature with 'lisa jira create --type epic --project PROJ --summary "Feature title" --description "..."'.
- List the top 10 issues in a project with 'lisa jira list --project PROJ --limit 10'.
- View details of PROJ-123 with 'lisa jira view PROJ-123'.
- Assign PROJ-123 to yourself with 'lisa jira assign PROJ-123 --to me'.
- Transition PROJ-123 to 'Code Review' after a PR is opened.