Skip to content

mk:jira-admin

What This Skill Does

Forks the jira-admin agent to execute project / user / group / scheme / automation administration across 11 sub-domains (~65 verbs). Highest-blast-radius leaf in the family.

When to Use

Required Permissions

Every verb requires Jira Admin. Some verbs require Site Admin. Insufficient permission → exit code 3.

DESTRUCTIVE Operations (2-step token confirmation)

For irreversible ops, the agent enforces:

  1. Show the user exactly what will be deleted
  2. Require the user to type the literal target identifier (e.g. project key STAGING)
  3. Only then re-invoke without --dry-run

Irreversible ops:

  • admin project delete — IRREVERSIBLE; deletes all issues, attachments, history
  • admin user delete — IRREVERSIBLE (use deactivate instead when possible)
  • admin group delete (with members) — affects member access globally

Sub-Domains (11)

Sub-domainCommon verbs
projectlist, create, get, update, archive, delete, lead
configget, update, restore-defaults
categorylist, create, update, delete
userlist, create, get, update, deactivate, delete, groups
grouplist, create, get, delete, add-member, remove-member
automationlist, enable, disable, delete, run
automation-templatelist, apply
permission-schemelist, get, create, update, delete, assign-to-project
permissionlist, grant, revoke
notification-schemelist, get, create, update, delete, assign-to-project
notificationlist, add, remove

Recovery — Prefer Archive over Delete

For projects, the agent always offers archive as the first choice even when the user says "delete":

"Delete is irreversible. Archive hides the project but preserves data. Most cleanup intents map to archive. Are you SURE you need delete?"

For users, always offer deactivate as the first choice — it disables the account but preserves attribution on existing issues.

Domain References

  • references/voodoo-constants.md — magic numbers (event IDs, scheme IDs, common custom field IDs) and how to discover yours

Peer Leaves

mk:jira-fields (admin overlap; fields create requires admin) · mk:jira-jsm (JSM-specific admin lives there)

Agent

jira-admin — A + C, NOT B.

Released under the MIT License.