Jira

From eobarretooo/ClawLite · View interactive version

Jira is an AI agent skill from the GitHub repository eobarretooo/ClawLite. Create, read, transition, and comment on Jira issues via the Jira REST API v3.

How to use this skill

Skill file

Jira

Use this skill when the user wants to manage Jira issues, transitions, or comments.

Auth

Set:

AUTH=$(echo -n "$JIRA_EMAIL:$JIRA_API_TOKEN" | base64)
BASE="$JIRA_BASE_URL/rest/api/3"

Issues

# Get an issue
curl -s -H "Authorization: Basic $AUTH" -H "Accept: application/json" \
  "$BASE/issue/PROJ-123"

# Search with JQL
curl -s -H "Authorization: Basic $AUTH" -H "Accept: application/json" \
  "$BASE/search?jql=project=PROJ+AND+status='In Progress'&maxResults=20"

# Create an issue
curl -s -X POST -H "Authorization: Basic $AUTH" \
  -H "Content-Type: application/json" -H "Accept: application/json" \
  "$BASE/issue" \
  -d '{"fields":{"project":{"key":"PROJ"},"summary":"Issue title","issuetype":{"name":"Bug"},"description":{"type":"doc","version":1,"content":[{"type":"paragraph","content":[{"type":"text","text":"Description"}]}]}}}'

Transitions

# Get available transitions
curl -s -H "Authorization: Basic $AUTH" "$BASE/issue/PROJ-123/transitions"

# Perform a transition (e.g. move to Done)
curl -s -X POST -H "Authorization: Basic $AUTH" \
  -H "Content-Type: application/json" \
  "$BASE/issue/PROJ-123/transitions" \
  -d '{"transition":{"id":"31"}}'

Comments

# Add a comment
curl -s -X POST -H "Authorization: Basic $AUTH" \
  -H "Content-Type: application/json" \
  "$BASE/issue/PROJ-123/comment" \
  -d '{"body":{"type":"doc","version":1,"content":[{"type":"paragraph","content":[{"type":"text","text":"Comment text"}]}]}}'

Safety notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.