How to write test cases in Jira? The ultimate guide. 

Struggling with managing projects and writing test cases in separate tools? Jira is here to help. It is the top tool for managing software development, especially in Agile teams like Scrum or Kanban. But… did you know that you can also use Jira to handle your test cases? Let’s explore how you can do that to get the best results.

Can we do test case management in Jira?

While Jira’s roots lie in bug tracking, its capabilities have expanded to all project management tasks. Test management is one of these functionalities. We have a dedicated article about the pros and cons of Jira as a testing tool. Dig in if you are curious about using the Atlassian flag product for testing. This time, we’ll go a little deeper. Let’s focus on using Jira to write, organize, and track test cases. 

Bring test case management into your development workflow.

Try RTM for Jira with your team. It’s free for 30 days.
Try it free

What is a test case lifecycle? 

The test case lifecycle refers to the stages a test case goes through from its creation to its completion. It includes the following key phases:

  • Creation – test cases are initially created based on requirements. They outline the steps and the expected outcomes.
  • Planning – a team organizes test cases into test plans. This involves prioritizing test cases, scheduling them for execution, and allocating resources.
  • Execution – testers run test cases against the software or system under test. They follow the steps outlined in the test case and record the actual outcomes.
  • Reporting – in this stage, team members document the results. It includes pass/fail status, defects found, and comments.
  • Analysis – analysts verify results to determine the stability of the software. This involves identifying trends, areas of improvement, and any patterns in defects.
  • Retesting – a team re-executes failed tests after defects are fixed. They can check if the issues have been resolved.
  • Closure – testers mark test cases as complete or closed. They generate a final report, documenting the overall test coverage and outcomes.
test case lifecycle infographic

Collaboration among testers, developers, and stakeholders is essential during a test case lifecycle. It ensures that the team meets testing goals and addresses issues effectively.

Why is Jira used to write test cases?

Many QA teams use Jira for test case management. And no wonder they do it. Bringing testing into the rest of software development makes it clear and consistent. This is possible due to Jira’s flexibility and integration with other tools. Jira has features for organizing tasks, tracking progress, and managing Jira testing workflow. Its project management capabilities allow you to manage testing with ease. Teams can create custom issue types for test cases. Moreover, Jira custom fields successfully capture test case details. 

With plugins, teams can extend Jira’s functionality to support test management better. Here’s what it looks like in Requirements and Test Management for Jira:

Manage-test-cases-in-Jira
Test case in Requirements and Test Management for Jira

How to set up Jira for test cases?

Starting with setting up Jira for test cases is important. It makes your testing inside the Atlassian tool effective. You can create a dedicated project for test cases but it’s not obligatory. It would help if you focused on the testing workflow. Well-configured Jira workflow improves visibility and collaboration. Follow the steps below to control your tests on a high level.

Create test case management workflow in Jira 

Here’s how you can customize Jira workflow for test cases: 

  1. Go to Project settings on the left.
  2. Navigate to Workflows. Choose the icon under Actions.
  3. Add statuses to your current workflow. Make them reflect your QA team’s work. For example, the additional status can be “ready for testing” or “in testing”. 
  4. Set transitions to All so each team member can return anytime needed.
jira workflow for bugs

Do you prefer to focus on tracking defects? Go to our article about setting Jira workflow for bugs

How do you write test cases in Jira step by step? [with examples]

Jira doesn’t have built-in issue types for test cases. However, it enables its users to add their own issue types to the project. You should use this feature while setting up your Jira for tests.

TIPS

Requirements and Test Management for Jira allows you to set up dedicated issue types for test cases. Here’s how yo do it:

  1. Go to Project settings > RTM Configuration.
  2. Go to Issue Types > Requirements and tests.
  3. Change RequirementsTest CaseTest Plan and Test Execution.
  4. Go to the Defects section.
  5. Choose Project and Issue Types.
  6. Click Save. 
rtm issue types for test cases configuration
Configuring issue types for testing in Requirements and Test Management for Jira

Standard Jira issue types as test cases

Here’s what you should do to create dedicated issue types for test cases: 

  1. Navigate to Jira Settings and then go to Issues
  2. Click on Add Issue Type and provide a name for your issue type. Optionally write a description, select the type of the issue, and click Add
  3. Find your project in Issue Type Scheme settings and click Edit.
  4. Drag your new issue type into your project’s scheme.
  5. Go to Screens and add a new one. 
  6. Find your newly created screen and click Configure. Select the custom fields you wish to display in this issue type, like Summary, Preconditions, Test case steps, Expected results, and Priority
  7. Go to Screen Schemes. Select Add Screen Schemes to create a new one, linking it to your custom screen.
  8. Navigate to Issue Type Screen Scheme, and choose your Jira project. Next, associate an issue type with a screen scheme. Select your new issue type and its screen scheme, then click Add.
test cases in jira issue type example
Writing test cases in native Jira

Sub-task issue types as test cases

Marking sub-tasks as test cases will enable the stakeholders to display the results of specific testing cases directly in Jira. To set up sub-tasks as test cases results:

  1. In your Jira admin panel, go to IssuesIssue types → Add Issue Type. Select Sub-Task Issue Type.
  2. Go to ScreensAdd Screen → Configure screen. Choose the fields for the test case subtask.
  3. Navigate to Screen Schemes and Add Screen Scheme. Create a new scheme. Then, set the test case result issue type screen as default.
  4. Go to Issue Type Screen Schemes, and locate the test case screen scheme set up earlier.
  5. Click Configure under Actions, and associate an issue type with a related screen scheme.

We recommend creating a separate test case for each action. 

What is the test case template in Jira?

Here’s a test case template that you can copy and paste into your Jira:

Summary: Verify [functionality/feature]

Description: Ensure that [functionality/feature] works as expected.

Preconditions:

[List any preconditions or setup required before testing]

Test Steps:

[#1: Detailed action]

[#2: Detailed action]

[#3: Detailed action]

Expected Result:

[Expected outcome for each step or overall]

Actual Result:

[Outcome after test execution]

Some Marketplace apps can guide you through completing your test cases. Below you can see what it can look like in one of our testing apps, Requirements and Test Management for Jira

new test case rtm for jira
Completed test case in Requirements and Test Management for Jira

Which plugin supports test management in Jira?

Best test case management tool in Jira

Choosing the best test case management tool in Jira is crucial. Plugins offer specific features for managing requirements, test cases, and defects. Bringing apps into the process improves collaboration between testers and developers. It also embeds testing inside the rest of software development. What else can they do?

Writing test cases with third-party apps

Requirements embedded into testing 

With RTM for Jira, you can link requirements to specific test cases. With a dedicated Requirements module, you can verify if all initial ideas are met. Additionally, RTM provides 4 specific issue types for requirements. It makes it easy to categorize and manage them. It maintains high-quality standards in your project from the very start. 

requirements relations view in jira
Relations tab with requirements, related test cases, and other testing objects in Requirements and Test Management for Jira (RTM)
TIPS

How to link requirements to test cases in Requirements and Test Management for Jira? 

  • Make sure you have Link Issues permission.
  • Get Linked issues field unlocked in Project settings > Fields. Thanks to that, all links will be visible in Relations tab.

To add links:

  1. Go to selected issue.
  2. Go to the Relations section.
  3. Click + New direct link.
  4. Go to the Jira Issue section.
  5. Configure the following:
    • Choose the type of link to be create.
    • Choose issue: Specify the issues to be linked to your currently selected issue.
  6. Click Link.
  7. Go to the Web Link section.
  8. Configure the following:
    • URL: Enter the URL of the page to link.
    • Link text: Enter the URL name.
  9. Click Link. 

 

Full project and testing traceability inside Jira Software 

RTM in Jira isn’t just about linking tests to requirements. It’s also handy for managing test plans, executions, and defects. You can create detailed test plans based on your test cases. Then, you execute them consistently and track defects. Plus, you can easily see which tests are passing and which cause issues. RTM makes managing testing a breeze, ensuring nothing goes unseen.

test plan from test cases rtm for jira
Test plan from test cases in Requirements and Test Management for Jira

Generating test cases with AI

Tired of spending hours crafting test cases? Let AI automate the process. With our Requirements and Test Management for Jira app, you can easily generate comprehensive test cases directly from your requirements. This will save you time and effort, allowing you to focus on more strategic aspects of testing.

TIPS

How to generate test cases with AI in Requirements and Test Management for Jira?

  1. Access the RTM application in your project.
  2. Click on the Requirements tab.
  3. Choose up to 10 requirements for test case creation.
  4. Press the Create Test Case (AI) button (ensure it’s enabled).
  5. Use the progress widget to track the AI test case creation.
  6. Click View to see the generated test cases.
  7. Modify information in the Details, Steps, and Requirements tabs as needed.
  8. Decide to approve or reject each test case.
  9. Click Create Test Cases to save approved ones.
  10. If needed, cancel to save drafts for later review.

Your test cases will now be available in the Test Cases tab.

Here’s a quick demo:

Make sure your test cases cover initial specifications. Minimize the risk of defects at the early stage of the process.

Give Requirements and Test Management for Jira a try at your company. It’s free for 30 days.
Go to the Marketplace

How to manage test cases in Jira? Expert tips. 

Below you will find answers to the most common questions about writing tests in Jira. To explain details we used the tips and screens from Requirements and Test Management for Jira. The app’s functionalities support QA teams throughout the whole testing process. Customers value the app’s intuitiveness and transparency. Thanks to this, even non-tech-savvy people can benefit from its possibilities. 

Can we track test cases in Jira?

You can track test case progress with testing plugins. The Marketplace apps provide users with additional capabilities and reports. These features make tracking tests intuitive. They enable users to see the progress of test cases and their executions at a glance. Moreover, the Traceability Matrix in Jira allows us to check if related tests cover all requirements. This is the strong point of RTM for Jira, worth considering while deciding on the testing tool. 

requirement traceability matrix in jira RTM
Traceability Matrix in Requirements and Test Management for Jira
TIPS

How to set up Traceability Matrix in Requirements and Test Management for Jira?

  1. Select Apps and then Test Management.
  2. In the Reports, choose Traceability.
  3. Choose projects.
  4. Select types of requirements X-axis (columns) and Y-axis (rows).
  5. Generate your report.

How do you maintain test cases in Jira?

Test case management apps support you in maintaining your tests. You can use the plugin to create issue types for test cases. Fill in details like summary, steps, expected results, and priority. Then, group your test cases into folders or test sets. This helps keep them structured by feature or module. You can also organize test cases using labels. Link test cases to Jira issues (e.g., user stories or requirements). This ensures traceability later on. 

Next, create test plans or test cycles. Assign test cases to these plans and schedule execution dates. Run test cases during testing phases. Record results directly in Jira (pass, fail, blocked, etc.). If a test fails, create a bug issue in Jira. Link it to the failed test case for easy tracking. Regularly review test cases for accuracy. Update them based on changes in requirements or software. Use the plugin’s reporting tools to track test progress, coverage, and outcomes.

Finally, use Jira’s collaboration features. Comment on test cases and tag team members for feedback or updates.

How do I record a test case in Jira?

Use a test management plugin to set up a test case issue type. Then, go to the Test Case module inside the app. To record a test case, create a new one by clicking the Create button. 

Next, fill in the test case details:

  • Summary: Provide a brief title or summary of the test case.
  • Description: Write a detailed description of what the test case is about.
  • Preconditions: Specify any conditions that must be met before executing the test case (e.g., User must be logged in).
  • Test steps: List the steps required to execute the test case. Each step should be clear and concise.
  • Expected result: Describe what the expected outcome is for each step.
  • Priority: Set the priority level (e.g., High, Medium, Low).

Remember to use the linked issues field to connect the test case to relevant Jira issues (user stories, bugs, or requirements). 

create test case jira rtm
Test case relations with requirements displayed in Requirements and Test Management for Jira

How do I reuse a test case in Jira?

In RTM for Jira, test cases are reusable. You can clone specific tests or the whole test plans. First, find the test case you want to reuse in the Test Cases module. You can search for it or browse through the folders. Then, click on the test case and the Clone icon at the top of the tree-structured view. Adjust the details of the cloned test case if necessary (e.g., update the summary, steps, or preconditions).

Save your changes, and that’s it! The replicated test case will appear on your list. 

How to clone test cases in Jira? 

Go with the steps above. Use the Clone feature available in the test management plugin. Duplicate your test case and adjust it to match your needs.

TIPS

It’s possible to clone the whole test plans in Requirements and Test Management for Jira.

To do that, use Clone option in Test Plan tree structure.

cloning test plan rtm for jira
Cloning the entire test plan in Requirements and Test Management for Jira

How to execute test cases in Jira? 

Test case execution is executing test cases from a specific test plan. Remember to add test cases to the test plan before execution. You can display test cases in test execution as a list. This way, you will monitor their progress and results. 

test execution writing test cases rtm
Test execution in Requirements and Test Management for Jira

From this view, you can change each test step status. You can also complete the actual results and link defects to particular tests. It’s a good practice to upload an attachment illustrating the issue and add a comment. 

How to add test cases to test execution in Jira?

First, select the test cases and add them to a test plan. Only then you will be able to execute them. Test cases can’t be executed separately. However, it’s possible to create a test plan with only one test case. 

TIPS

To do in Requirements and Test Management for Jira, go to All in your Test Plans module, mark the one you wish to execute, and click the Create execution button. Complete all fields, and click Create. 

How to import test cases in Jira?

You can import test cases across the majority of testing apps, including RTM for Jira. You can also upload them from a CSV or Excel file. First, choose the target folder for your test cases. Next, click the icon and the Import from CSV option. 

At this point, you choose your project and the tool from which you import your test cases. To format your data well, select encoding and values separator. Adjust your file’s first line as a header, and decide not to continue importing if an error appears. You can also create missing versions and components if there are none in the target project.

test cases import rtm
Importing test cases in Requirements and Test Management for Jira

After clicking Next, the import process starts automatically. 

Reports from writing test cases in Jira 

Reports from writing test cases in Jira are crucial for managing software testing. Test reports show how testing is going and what’s working well. They let teams see the status of test cases and find out what needs improvement. Good reports allow all the stakeholders to stay in the loop. Let’s see how to prepare them. 

Why should you give up manual test case reports? 

Test reporting in continuous testing is challenging. Teams must collect accurate data and use an effective system to report test results. Doing it manually is time-consuming. It makes it hard to keep up with fast development cycles. In large projects, generating comprehensive test reports can lead to data overload. 

Any errors or incomplete data can compromise the report’s credibility. Understanding and interpreting test case chart can be challenging, especially for non-technical stakeholders. This is why reports must be presented in a clear and understandable format. It’s not easy to do it in Excel or other manual tool. 

We advise you to benefit from the real-time reports. They generate automatically. All you need is to choose a test management plugin with reporting features.

Real-time test case reporting with test case management tools

Apart from the Traceability Matrix, RTM for Jira provides other reports for tests. For example, the Requirements Coverage report helps you verify if test cases cover all requirements. You can filter the report results to identify what needs to be taken care of quickly. 

test reports rtm coverage
Requirement Test Coverage report in Requirements and Test Management for Jira

Generate testing reports in seconds. Save time and still leep everyone in the loop.

Give Requirements and Test Management for Jira a try at your company. It’s free for 30 days.
Go to the Marketplace

The app also enables us to monitor progress using the dedicated Test Case Execution report. The chart displays all the statuses of the Test Case Executions. Below it, there is a table listing each test case, its results, potential defects, and other key details. The final document can be exported to a CSV file.

test case execution jira rtm
Test Case Execution report in Requirements and Test Management for Jira
TIPS

How to generate Test Case Execution report in Requirements and Test Management for Jira?

  1. Navigate to Apps > Test Management.
  2. In the Reports section, click Test Case Executions.
  3. Configure the following:
    • Project
    • Test Execution Folder
    • Test Plan
    • Execution
    • TCE RTM Environment
    • TCE Create Date
    • TCE Assignee
  4. Click Generate.

All reports can be exported to the dedicated project dashboard. Thanks to this, managers can track testing progress with ease, even if the project is demanding.  

How to create a test case in Jira: 10 best practices

1. Set up the dedicated issue type for test cases

Jira allows for creating tests as regular issues. However, we recommend using the dedicated issue type. You can configure it by using testing apps. 

2. Use clear and concise naming

Give your test cases descriptive names that reflect their purpose. This helps testers understand what’s being tested and makes finding specific tests easier.

3. Put the requirements first 

Ensure your test cases cover the functionalities and requirements you’re testing. Link them to the specific requirements they validate for better traceability.

4. Determine preconditions

Specify any pre-conditions required before running the test case. This ensures a consistent testing environment.

5. Write clear test steps

Provide detailed, step-by-step instructions on how to execute the test. This should be easy to understand for anyone assigned to testing.

6. Think reusability

Whenever possible, create generic test cases applicable to multiple scenarios. This reduces repetitive work and saves time in the long run.

7. Go beyond the Happy Path

Don’t just test for successful outcomes. Include test steps that explore edge cases, error conditions, and unexpected inputs. Ensure comprehensive testing.

8. Include expected results in your test steps

Define the expected outcome for each test step. This clarifies what a successful test run should look like.

9. Add labels and custom fields

Take advantage of labels, components, and other custom fields. Categorize and organize your test cases for better searchability.

10. Consider automation integration

If you use automation tools, link your test cases to relevant automated tests. It allows for a smoother testing workflow.

how to write test cases in jira best practices

FAQ about test cases in Jira

  • Is Jira a good test management tool?

    Jira isn’t dedicated solely to testing. It’s an integrated platform that manages projects, users, and workflows cohesively. People like using it because of its adaptability and customizable fields. It allows teams to consolidate data in one place instead of juggling separate tools. This is a huge advantage. However, if a team has a lot of complex testing to do, there could be problems using only Jira for test management.

    Pros of testing in Jira

    Jira is cost-effective. It lets you handle everything in one place, avoiding the need for multiple tools. Its workflow capabilities make it easier for collaboration between analysts, testers, and developers. If your team already uses Jira for project management, using it for tests saves time with no need for extra training. Moreover, Jira’s integrations ensure smooth project management, issue reporting, and feedback.

    Cons of testing in Jira

    Jira’s native issue-tracking functionality isn’t designed for test case management. It makes complicated test case organization and planning challenging without additional plugins. Using Jira’s regular workflow for tests can get messy. Creating custom issue types can clutter the boards. Thus, while Jira can be a good test management tool with plugins, it may not be ideal for complex testing needs without additional support.

  • What is test management in Jira?

    Test management in Jira involves a structured approach to handling tests. It starts with gathering requirements. Next, the team moves on to create related test cases. Test cases specify the testing steps and expected outcomes. They are then organized into test plans. Test plans are executed to verify the software’s functionality. 

    Test management in Jira also includes tracking the progress of test execution. This process allows users to spot defects and generate comprehensive reports. It ensures that testing is consistent and aligned with initial requirements.

  • How to use Jira for testing?

    To use Jira for testing, we recommend installing a test management plugin. It can be, for example, Requirements and Test Management for Jira. The plugins add specific test management functionalities to Jira. They include creating test cases and organizing them into test plans. Then, you can then execute these tests and record the results directly in Jira. Additionally, you can link test cases to Jira issues like user stories or bugs. Finally, teams can use the reporting features to monitor test progress.

  • Can Jira manage test cases?

    Yes, Jira can manage test cases. However, it requires testing plugins to do so effectively. The apps extend Jira’s functionality to handle comprehensive test management tasks. They integrate seamlessly with Jira and extend its capabilities. Testing tools allow users to create, organize, and execute test cases within Jira. This makes it possible to track testing alongside other project tasks.

Katarzyna Kornaga

Katarzyna is a Content Specialist, responsible for writing on the Deviniti blog. She values helpful, unique content where users can find answers to their questions. When not writing, you can find her walking her dog, Loki, flowing through Ashtanga yoga classes, or curled up with a good book at home.

More from this author