Create new Jira issues in the DW project on Jira Cloud using curl and the REST API. Supports all issue types with summary, description, priority, and assignee.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dwf-jira-admin-plugin:jira-createThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create Jira issues in the DW project using `curl` against the Jira REST API.
Create Jira issues in the DW project using curl against the Jira REST API.
Task.Medium.Bug. If "story", use Story. If "epic", use Epic. Otherwise default to Task.Required environment variables (check before first use):
test -n "$JIRA_USER" && test -n "$JIRA_API_TOKEN" && echo "OK" || echo "MISSING: set JIRA_USER (email) and JIRA_API_TOKEN (API token from https://id.atlassian.com/manage-profile/security/api-tokens)"
If variables are missing, tell the user exactly what to set and stop.
| Setting | Value |
|---|---|
| Base URL | https://redhat.atlassian.net |
| Project | DW |
| Issue Type | Task |
| Priority | Medium |
curl -s -u "$JIRA_USER:$JIRA_API_TOKEN" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"fields": {
"project": {"key": "DW"},
"summary": "Issue summary here",
"issuetype": {"name": "Task"},
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{"type": "text", "text": "Description text here"}
]
}
]
}
}
}' \
"https://redhat.atlassian.net/rest/api/3/issue" | python3 -m json.tool
curl -s -u "$JIRA_USER:$JIRA_API_TOKEN" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"fields": {
"project": {"key": "DW"},
"summary": "High priority task",
"issuetype": {"name": "Bug"},
"priority": {"name": "High"},
"assignee": {"id": "ACCOUNT_ID"},
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{"type": "text", "text": "Description here"}
]
}
]
}
}
}' \
"https://redhat.atlassian.net/rest/api/3/issue" | python3 -m json.tool
To find a user's account ID for assignee, search:
curl -s -u "$JIRA_USER:$JIRA_API_TOKEN" \
"https://redhat.atlassian.net/rest/api/3/user/[email protected]" | python3 -m json.tool
On success the API returns {"id": "...", "key": "DW-NNN", "self": "..."}.
Report back: Created DW-NNN with the summary.
| Type | When to Use |
|---|---|
| Task | General work items (default) |
| Bug | Defects and issues |
| Story | User-facing features |
| Epic | Large initiatives spanning multiple stories |
| Sub-task | Breakdown of a parent issue |
Jira Cloud REST API v3 uses Atlassian Document Format (ADF) for descriptions. For plain text, wrap in the paragraph structure shown above. For multi-paragraph descriptions, add multiple paragraph objects to the content array.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub a7vicky/devops-claude-plugins --plugin dwf-jira-admin-plugin