/xwiki:xwiki-jirafrom xwiki
Views, searches, creates, updates, comments on, and transitions issues on XWiki's self-hosted JIRA (jira.xwiki.org). Uses REST API for text bodies and jira-cli for other operations.
Ships in xwiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Natural-language interaction with https://jira.xwiki.org — XWiki's issue tracker (NOT GitHub
Issues), a self-hosted Atlassian JIRA (Server/Data Center). Per-repo project keys: XWIKI
(Platform), XCOMMONS (Commons), XRENDERING (Rendering), a per-extension key for each
xwiki-contrib extension. Issue keys match [A-Z]+-[0-9]+. A work package on op.xwiki.org
(OpenProject) is not a JIRA issue: use xwiki-openproject for those.
There is no Atlassian MCP for this instance. Pick a backend:
1. Writing a description or a comment?
→ USE REST BACKEND, always (jira-cli mangles text bodies — see the gotcha below)
2. Anything else (viewing, searching, fields, transitions)?
→ is jira-cli installed? run: which jira
found → USE CLI BACKEND
not found → USE REST BACKEND, and tell the user they can install jira-cli for a nicer
experience (setup instructions are in the plugin README).
Both backends need JIRA_API_TOKEN in the environment.
| Backend | When | Reference |
|---|---|---|
| REST API | any description/comment text; no jira-cli | references/rest-api.md |
| jira-cli | reads, searches, field/status changes | Quick reference below |
Field conventions are not in this skill — they live in kb/servers/jira.md (which Component to
set, how to choose Affects Version/s and Fix Version/s). Read it before creating or curating an
issue, so the same rules apply whichever backend you use.
Skip this section if using the REST backend. jira-cli reads
JIRA_API_TOKEN+JIRA_AUTH_TYPE=bearerand its config fromjira init(see the plugin README). Always pass--project/-pfor the repo you are in (XWIKI,XCOMMONS, …) since one JIRA hosts all projects — omit it and the issue is silently created in the config's default project, not the repo's.
| Intent | Command |
|---|---|
| View an issue | jira issue view XWIKI-12345 |
| Open in browser | jira open XWIKI-12345 |
| My issues | jira issue list -a$(jira me) -pXWIKI |
| My in-progress | jira issue list -a$(jira me) -s"In Progress" -pXWIKI |
| Search (JQL) | jira issue list -pXWIKI --jql "text ~ 'charset' ORDER BY created DESC" |
| Create a bug | jira issue create -pXWIKI -tBug -s"Summary" -b"Description" -C"REST" |
| Add a comment | jira issue comment add XWIKI-12345 -b"Comment text" |
| Transition | jira issue move XWIKI-12345 "In Progress" |
| Assign to me | jira issue assign XWIKI-12345 $(jira me) |
| Who am I | jira me |
Set Affects/Fix Version with --affects-version/--fix-version and Component with -C,
per kb/servers/jira.md. Pass --no-input only when every required field is supplied.
jira-cli gotchas:
--template files and stdin) through a Markdown→JIRA-wiki converter that damages it two ways:
raw wiki markup gets double-escaped (hyphens, parens, *) and [text|url] links mangled, and —
even for valid Markdown — the blank line before a list is dropped, so the first item is glued
onto the preceding paragraph and renders as prose instead of a bullet. Since descriptions and
comments are written in wiki markup and usually contain a list, use the REST backend
(references/rest-api.md), which stores exactly what you send. Verify by reading the field back.-t/--type exists only on jira issue create, not jira issue edit. jira-cli cannot change
the type of an existing issue (e.g. Bug→Improvement) — use the REST recipe in
references/rest-api.md. (jira issue move changes status, not type.)Creating an issue:
kb/servers/jira.md. Reaching for the dev version as the Affects Version is the
signal you are in that case. The same section covers a follow-up to a fix that turns out
incomplete: reopen only while none of its Fix Version/s is released.kb/servers/jira.md and resolve the fields: issue type, Component/s, Affects
Version/s (oldest affected, else last LTS — verify the version values, don't cache them),
Fix Version/s (usually none until the issue is closed — see that file). Write the description
in JIRA wiki markup, explaining the user-visible problem, following "Wiki-markup gotchas" in that
file, and preview it with the render endpoint described there.kb/servers/jira.md), then
report the created key and URL.Starting work on an issue: assign it as "Starting work on an issue" in kb/servers/jira.md
says — jira issue assign KEY $(jira me), or REST PUT /issue/KEY/assignee with the name from
/myself.
Updating an issue:
Each of these guards an operation that cannot be undone or that reaches other people:
kb/servers/jira.md.XWIKI/XCOMMONS/XRENDERING, and Affects Version is not
merely the latest release — follow kb/servers/jira.md.JIRA_API_TOKEN is a secret; reference it by name only, never
echo it or pass it where it would be logged.If jira-cli is not installed AND JIRA_API_TOKEN is not set, guide the user to the plugin README's
"JIRA access" setup (install jira-cli and run jira init, or export JIRA_API_TOKEN). Do not invent
credentials or a different JIRA host.
Load references/rest-api.md when using the REST backend, or for anything beyond a simple
view/list/comment on the CLI: creating an issue with multi-line body or version/component fields,
transitions (which need the available-transition list), or JQL beyond a trivial filter.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub xwiki/xwiki-dev-llm --plugin xwiki38 skills in this plugin
/xwiki-backportBackport any change (bug fix, feature, refactor, or test) to an older branch of an XWiki repo (xwiki-platform / xwiki-commons / xwiki-rendering / xwiki-contrib). Cherry-pick `-x` the source commit(s) into a worktree, ADAPT the result to the older branch (module pom versions, Java level, `@since` tags, data migration versions and skip ranges, style/API divergence), verify it compiles against that branch, and push / open a PR. Use whenever a commit that exists on one branch needs to be applied to an older/maintenance branch. For the `testneeded`-labelled test sweep use xwiki-backport-testneeded (which builds on this skill); for Maven commands use xwiki-build; for PR/commit conventions use xwiki-pull-request; for the versioning/`@since` conventions (the format and what carries `@since`) use xwiki-knowledge./xwiki-backport-testneededBackport the automated test of one JIRA issue labelled `testneeded` to the currently-supported stable branches, adjust its `@since` tags across all branches, and open the PRs. Use when asked to backport the test of a given testneeded issue, or to catch a stable branch up with a recently-added test. (For several issues at once, the user will say so — then apply this per issue.) This is the test-specific layer on top of xwiki-backport (which owns the generic cherry-pick / adapt-to-branch / verify mechanics — including the mandatory pom-version, Java-version and `@since` checks). For Maven use xwiki-build; for PR/commit conventions use xwiki-pull-request; for the `@since` rules use xwiki-knowledge; for querying JIRA (the testneeded sweep) use xwiki-jira.