JI

jira-api-test-cases

Derives and creates Jira subtasks for API test cases based on user story criteria.

Install

mkdir -p .claude/skills/jira-api-test-cases && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15479" && unzip -o skill.zip -d .claude/skills/jira-api-test-cases && rm skill.zip

Installs to .claude/skills/jira-api-test-cases

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create API test cases from a Jira user story and the project's Swagger or OpenAPI file. Use when the task is to read a Jira story, derive functional API test cases from its acceptance criteria, propose the list for approval, and then create the approved cases as Jira subtasks with a consistent template.
304 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Read Jira user story acceptance criteria.
  • Identify relevant endpoint operations from Swagger/OpenAPI.
  • Define functional test case variations.
  • Propose test cases for user approval.
  • Create approved test cases as Jira subtasks.

How it works

The skill reads a Jira user story and an OpenAPI definition to derive functional API test cases from acceptance criteria. It then proposes these cases for approval and creates them as Jira subtasks.

Inputs & outputs

You give it
Jira user story and Swagger/OpenAPI file
You get back
Jira subtasks representing approved API test cases

When to use jira-api-test-cases

  • Generate API test cases
  • Map acceptance criteria to tests
  • Track API testing in Jira

About this skill

Jira API Test Cases

Use this skill when the user wants to turn a Jira story into API test cases and track those cases as Jira subtasks.

Workflow

Follow this sequence:

  1. Read the Jira user story and capture its acceptance criteria.
  2. Read the project's Swagger or OpenAPI definition and identify the endpoint operations that map to the story.
  3. Define functional test case variations that cover the acceptance criteria.
  4. Propose the test cases to the user and wait for approval before creating Jira issues.
  5. After approval, create each test case as a subtask under the user story.

Rules

  • Each test case should represent a possible variation of the API use based on the acceptance criteria of the user story.
  • Each test case should be represented by a Jira subtask under the user story, with the prefix [Test Case].
  • Each test case should include the sections Title, Operation (Method and Endpoint), Request Parameters / Headers (if applicable), Request Body (if applicable), Response Status Code, and Response Body (if applicable).
  • Each test case should check response codes against their usually expected results, not only against the current project specs or implementation. Example: if trying to register an email that is already registered, the common choice is 409 Conflict, so the test case should expect 409 even if the current spec and/or code say 400.

Working Notes

  • Prefer functional coverage over duplicating the same scenario with cosmetic variations.
  • Call out when a proposed test case intentionally differs from the current Swagger or implementation so the user knows it reflects common API practice rather than the current project behavior.
  • If the story maps to multiple endpoints, group the proposed test cases clearly by endpoint.
  • If the Swagger documents a generic validation error for multiple missing-field cases, it is fine to split them into separate test cases when that improves coverage clarity.

Jira Template

Use this structure for each proposed or created test case:

Title <test case title>

Operation (Method and Endpoint) <METHOD /path>

Request Parameters / Headers

Path params: ...
Query params: ...
Headers: ...

Request Body

{ ... }

Response Status Code <status code>

Response Body

{ ... }

When not to use it

  • When the task is not related to Jira user stories.
  • When API test cases are not required.
  • When a Swagger or OpenAPI file is unavailable.

Limitations

  • Requires a Jira user story as input.
  • Requires a Swagger or OpenAPI definition.
  • Test cases are created as Jira subtasks.

How it compares

This workflow automates the generation and tracking of API test cases directly within Jira, linking them to user stories, unlike manual creation.

Compared to similar skills

jira-api-test-cases side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
jira-api-test-cases (this skill)03moNo flagsIntermediate
linear-ci-integration11moCautionIntermediate
work-on-issue06moReviewIntermediate
regression02moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry