Jira Test Case template

Jira test case template

A reusable Jira test case template: preconditions, steps, expected results, test data and status. Free to copy or import for QA teams.

  • A ready-made Test Case structure you can copy now, or make one-click reusable in Jira.
  • Turn the parts that change into variables, so your team fills only the blanks.
  • Works for a single issue or a full Epic-and-sub-task hierarchy.
Cloud Fortified Built on Atlassian Forge EU data residency (Frankfurt)

Filled-in example

Test ID Text
TC-014
Title Text
Verify promo code is rejected when expired
Preconditions Long text
Seeded account on staging; an expired promo code exists; the checkout feature flag is on.
Test steps Bulleted list
1. Add an item to the cart and open checkout.2. Enter the expired promo code.3. Submit the order.
Test data Long text
Promo code SUMMER2024 (expired 2025-09-01).
Expected result Long text
The code is rejected with an inline "This code has expired" message and payment is not charged.
Actual result Long text
Filled in at execution: what actually happened.
Status Dropdown
Ready
Environment Text
Chrome 140 / macOS / build 4.2.0
Priority Dropdown
High
Linked story / bug Text
PROJ-204

Copy-paste into your Jira issue. Tip: if styling breaks, paste into a plain-text editor first, then copy from there.

The life of a test case

  1. Write

    Capture preconditions, numbered steps and the expected result

  2. Run

    A tester follows the steps against a specific build

  3. Record

    Note the actual result and set the status passed or failed

  4. Trace

    Link the case to the story it verifies or the bug it found

A Jira test case template is a reusable structure for a test case, so every case carries the same fields: a clear title, preconditions, numbered steps, test data, the expected result, the actual result, a status, the environment, and a link to the story or bug it verifies. To use one, build a test case the way it should always look, save it as a template, and apply it on the Create screen so the fields are pre-filled and a value like the build number flows down. Copy the structure on this page by hand, or import it in seconds. Jira is not a dedicated test-management tool, so this models test cases as structured issues, which is enough for most teams.

What a Jira test case template contains

A test case is only useful if someone other than its author can run it and reach the same result. That requires structure, and structure is exactly what a template enforces. These are the fields a complete test case carries, and what each one is for.

FieldWhat it is for
Test IDA stable reference so the case can be cited in reports and links
TitleA specific, scannable name, for example “Verify login with valid credentials”
PreconditionsThe known starting state: seeded data, environment, feature flags
Test stepsNumbered, unambiguous actions a tester follows in order
Test dataThe exact inputs used, so the run is reproducible
Expected resultThe pass or fail criterion: what should happen
Actual resultFilled at execution: what did happen
StatusReady, In progress, Passed, or Failed
EnvironmentBrowser, OS, build, so a developer can reproduce a failure
Linked story / bugTraceability to the requirement it verifies or the defect it found

The fields that separate this from a generic ticket are the Test ID, the test data, the environment, and the explicit expected-versus-actual split. Those are the QA-specific parts a bug or task template does not carry, which is why a test case deserves its own template rather than being shoehorned into a task.

A filled example

Here is the same structure filled in for a real case, run and recorded, so the pattern is concrete:

h2. Test case
*Test ID:* TC-014
*Title:* Verify promo code is rejected when expired

h2. Preconditions
Seeded account on staging; an expired promo code exists; the checkout feature flag is on.

h2. Test steps
# Add an item to the cart and open checkout.
# Enter the expired promo code.
# Submit the order.

h2. Test data
Promo code SUMMER2024 (expired 2025-09-01).

h2. Expected result
The code is rejected with an inline "This code has expired" message and payment is not charged.

h2. Actual result
Code rejected with the inline "This code has expired" message; no payment was attempted.

h2. Details
*Status:* Passed
*Environment:* Chrome 140 / macOS / build 4.2.0
*Priority:* High
*Linked story / bug:* PROJ-204

Model a test case as a Jira issue or sub-task

There are two sensible ways to hold a test case in Jira. As a standalone issue, a dedicated Test Case issue type, when the case is reusable across releases and you want it searchable and reportable. Or as a sub-task of the story it verifies, when it only matters to that one story and will not be reused. Either way, the template captures the field structure once so you stop retyping the skeleton every sprint.

When a test case fails, it usually becomes a defect. Build that defect from the bug template so every failure carries the same reproduction fields, and link it back to the case as proof of what was verified. Cases that check a story’s acceptance criteria pair naturally with the story template, and a release-time set of checks can be modelled with the checklist template.

Where a dedicated test-management app is the right call

We will be straight about this: Process Templates for Jira is not a test-management tool. It gives test cases a reusable structure, but it does not provide test runs, test cycles, or an execution dashboard as first-class objects. For most teams, modelling cases as structured issues and tagging each run by build or fix-version is enough.

If you need first-class test cycles, run-by-run execution tracking, and a coverage traceability matrix, a dedicated app such as Xray or Zephyr is the right tool, and we would rather tell you so than pretend otherwise. For the full native approach to managing cases, cycles and traceability in Jira without a QA app, see the guide on test case management in Jira. This page stays focused on the one thing a template does well: giving every case a consistent, reusable shape.

Make the test case reusable

Typing the skeleton by hand for every case is wasted effort and the easiest way to drift into inconsistency. With Process Templates for Jira you save the test case structure once and apply it on the Create screen, so each case starts complete.

  1. Install Process Templates for Jira from the Atlassian Marketplace. It is free for up to 10 users and needs no admin rights or scripting.
  2. Build one test case with these fields the way it should always look, then save it as a template from the issue menu. The how-to guide walks through the setup.
  3. Add variables for the parts that change, such as the feature, environment and build, so each case prompts for them at creation instead of being retyped.
  4. Apply the template on the Create screen with the fields pre-filled. When you template a story together with its child test cases, the parent-child links come back intact, and a value like the build number entered once flows to every child case.

Frequently asked questions

Does Jira have test cases? Jira has no built-in test case object, but it works well as a home for test cases if you give them structure, either as a dedicated Test Case issue type or as sub-tasks, with a reusable template so the fields stay consistent. For first-class test cycles and execution tracking, a dedicated app like Xray or Zephyr adds that on top.

Test case template or a test-management app, which do I need? Use a test case template when you want consistent, reusable case structure inside Jira and you tag runs by build. Use a dedicated test-management app when you need first-class test cycles, run-by-run execution, and a coverage traceability matrix. Many teams start with the template and add an app only if they outgrow it.

How do I template test cases in Jira? Build one test case with all its fields, save it as a template, and apply it on the Create screen so the structure pre-fills. Variables can prompt for the feature, environment and build at creation, and templating a story with its child cases preserves the links between them.

Pair the test case template with the rest of your delivery workflow: the bug template for the defects a failed case raises, the story template for the requirement it verifies, the checklist template for release checks, and the task template for general work. Or browse the full template library.

Use this template in your Jira in one click.

Install Process Templates for Jira, save this structure as a reusable template, and let your team launch tickets from it without re-typing anything.