Skip to content
Back to skills

Api

ASecurity

Use Jira raw REST API requests, inspect issue fields, and preview Markdown as ADF.

  • 54 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 27, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add mulhamna/jira-commands --skill api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mulhamna-api/badge)](https://www.skillsdirectory.com/skills/mulhamna-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api
description: Use Jira raw REST API requests, inspect issue fields, and preview Markdown as ADF.
---

Use `jirac --version` to check availability; if missing, tell the user to install `jira-commands`.

## Raw REST API

Prefer a dedicated `jirac` subcommand when it supports the operation. For raw
platform API calls, check the active profile and API version with `jirac auth
status`; this may contact Jira to look up the current user. Keep the same
profile and `JIRA_PROFILE` environment setting for the request. If the version
cannot be determined, ask the user rather than assuming Cloud.

Use `/rest/api/3/...` for API v3 (normally Cloud) and `/rest/api/2/...` for
API v2 (normally Data Center or Server). Other API families, such as
`/rest/agile/1.0/...`, have their own versions. Raw requests do not convert
bodies: descriptions and comments generally use wiki-markup strings in v2 and
ADF objects in v3. Check the endpoint schema for its request and response.

Use `jirac api get <PATH>` or `jirac api delete <PATH>`. For a JSON body, use
`jirac api <METHOD> <PATH> --body '<JSON>'`, where METHOD is `post`, `put`, or
`patch`. Map an unknown endpoint before running a request. Examples:

- Cloud/v3: `jirac api get /rest/api/3/serverInfo`
- Data Center/v2: `jirac api get /rest/api/2/serverInfo`
- For an issue or project, use `/rest/api/2/issue/PROJ-123` or
  `/rest/api/2/project` on v2, and the corresponding `/rest/api/3/...` path on v3.

## Render Markdown

Use `jirac issue render --input <FILE>` or pipe text to `jirac issue render`
to preview Markdown as ADF. It also accepts `--format text|adf` and
`--output adf|text`; ADF input is parsed as JSON, not fully schema-validated.
The preview does not resolve `@username` into a Jira mention and is not a
preview of the wiki markup sent to API v2. To send the reviewed Markdown via
`--description-file`, use `--description-format markdown`; for comment
`--file`, set `JIRA_INPUT_FORMAT=markdown` for that command.

## Inspect fields

Use `jirac issue fields -p <PROJECT> --issue-type '<TYPE>'` to discover field
IDs and types before create/update; add `--required-only` when needed. If the
issue type is omitted, the command may prompt interactively.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.