Claude-skill-registry jira-read-ticket
Use whenever a user mentions or references a Jira ticket and you want to pull out description, comments, or more.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/jira-read-ticket" ~/.claude/skills/majiayu000-claude-skill-registry-jira-read-ticket && rm -rf "$T"
manifest:
skills/data/jira-read-ticket/SKILL.mdsource content
Jira data access instructions
Retrieve Jira issue data from Atlassian Cloud and return only the requested fields in JSON format.
Inputs
- Jira issue key or ticket URL
- Environment variables:
,ATLASSIAN_URL
,ATLASSIAN_EMAILATLASSIAN_API_TOKEN
Workflow
1) Verify environment variables
- Ensure all required variables are set. Never output or log token values.
- If missing, ask the user to set them before calling the API.
Variables: ATLASSIAN_URL, ATLASSIAN_EMAIL, ATLASSIAN_API_TOKEN
2) Identify the issue key
- If the user provides a URL, parse the key (example:
->https://.../browse/ABC-123
).ABC-123 - If the key is missing, ask the user for it.
3) Fetch data
Use these scripts before alternatives:
: Gets all ticket comments as JSON.scripts/fetch_comments.py
: Gets assigned tickets (JSON array).scripts/fetch_assigned_tickets.py
: Gets description and details for one ticket (JSON).scripts/fetch_description.py
Alternatively, use Jira REST API v3 with basic authentication,
curl, and jq. Example for assigned tickets with JQL:
<example>
</example>curl -s \ -u "$ATLASSIAN_EMAIL:$ATLASSIAN_API_TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ "$ATLASSIAN_URL/rest/api/3/search/jql" \ --data '{ "jql": "assignee = currentUser()", "fields": ["key", "summary", "status", "issuetype", "project"], "maxResults": 100 }'
- Use the
parameter to limit payload when only specific fields are needed.fields
4) Extract results
- Python scripts return JSON.
- When using
, usecurl
to extract fields of interest.jq
Notes
- Jira may return rich text (Atlassian Document Format). Prefer
, fallback torenderedFields
.fields - Use
for JQL POST requests./rest/api/3/search/jql
is deprecated./rest/api/3/search - Retry API requests with increased permissions if network restrictions occur.
- Never log or output secrets—reference environment variable names only.
- Read-only operation: do not alter ticket data unless explicitly authorized by the user.