A Practical Guide to Managing Test Cases with Xray in Jira
Struggling to track tests and coverage? Learn how x ray in jira helps you organize, execute, and report test cases. Read now to build a reliable workflow.
Testing in Jira can get messy when test cases live in different places, requirements lack clear coverage, and execution results are hard to follow. A small change may leave you asking which tests need to run again.
Xray helps organize tests and connect them with Jira work. But here's the truth: adding an app alone won’t create a dependable testing process. You need a clear structure, consistent execution habits, and regular maintenance. This guide walks you through managing test cases with Xray in Jira, from setup to reporting. You’ll also see how to handle common workflow problems and when a separate project-management approach may suit your team better.
How to manage test cases with Xray in Jira
Start by creating a simple test structure, linking tests to the work they verify, and recording each execution in Xray. Then review coverage and results as part of your regular Jira workflow.
- Agree on a test-case format. Decide what every test needs, such as a clear title, preconditions, steps, and expected results. For example, “Checkout rejects an expired card” is easier to understand than “Payment test 12.”
- Configure the Xray test issue types. Xray commonly uses issues for tests, test sets, test plans, test executions, and preconditions. Check your Jira project configuration and Xray version, since available options can vary.
- Create focused test cases. Write one case for one outcome wherever practical. Include enough detail for another tester to repeat the steps, and keep expected results observable.
- Group tests by purpose. Use a test set for a related collection, such as smoke tests for account creation. Use a test plan to organize testing for a release or milestone.
- Link tests to Jira work. Connect relevant tests to requirements, user stories, or defects. A link gives your team a way to inspect what a change should cover.
- Run a test execution. Create or select an execution for a specific cycle, then record each test’s status and any relevant defect. Keep the execution tied to the build or environment when your workflow supports that information.
- Review and improve. Check for uncovered requirements, recurring failures, and outdated cases. Update tests when product behavior changes, and retire cases that no longer serve a useful purpose.
The best part? You can begin with a small group of important tests rather than reorganizing every test at once. A checkout smoke test is a practical first candidate because its results are easy to discuss with product and engineering teams.

Choose a test structure your team can maintain
Xray’s test issue types help you organize work at different levels. A test describes an individual check, while a test set groups related checks. A test plan can represent a broader testing effort, such as a release cycle.
For example, a team might keep “Sign in with a valid password” and “Sign in with a locked account” as separate tests. It could group them in an account-access test set, then include that set in a release test plan.
Keep the structure understandable to people who did not create it. Too many overlapping groups make it harder to find the right test and can lead to duplicate maintenance. Start with a naming pattern your team can explain in one sentence.
Connect test cases to requirements and defects
Links between tests and Jira work make coverage easier to inspect. If a story describes a new password-reset flow, link the relevant tests to that story. If a test fails, connect the execution result to the defect that tracks the problem.
Here’s why: a requirement without a related test may need attention, while a test with no clear purpose may be stale. These links help reviewers ask useful questions before a release, such as whether every high-priority acceptance criterion has a meaningful check.
Links need upkeep. When a story changes, review its related tests instead of assuming the old coverage still applies. A simple example is a new verification step: the existing reset test may need an additional expected result.
Run executions and record useful results
A test execution captures a testing cycle, while individual tests receive statuses that reflect what happened. Your team should agree on what statuses mean and when a tester should raise a defect.
Suppose a test passes in a development environment but fails in staging. Record the relevant execution context and observed behavior so the team can investigate the difference. A status without enough context may leave the next person repeating the same investigation.
For repeatable runs, keep test steps concise and record the build or environment details your team uses. Manual cases should be easy to follow. Automated tests should connect their outcomes to the appropriate Xray and Jira workflow supported by your setup.
Use reports to spot coverage gaps and repeated failures
Xray reporting can help teams inspect test coverage and execution outcomes. The useful question is not simply how many tests passed. Look for patterns, such as a requirement with no linked test or a feature area with repeated failures.
For example, if a release review shows that payment requirements have tests but no recent executions, your team can schedule the missing run. If a case fails across several cycles, investigate whether the product has a recurring issue or the test needs clarification.
Choose reports that support decisions your team actually makes. A weekly review might focus on untested high-priority work, while a release review might focus on execution status and unresolved defects. Check your Xray edition and Jira configuration for the reports available to your team.
Keep the test suite trustworthy over time
Test cases need maintenance as product behavior changes. Review them when requirements are revised, defects are fixed, or user journeys shift. Retire cases that no longer verify a meaningful behavior, and update cases whose steps no longer match the interface.
Let me explain: stale tests create uncertainty. A tester may follow an old instruction, report a failure that is not a product issue, or skip a check because its purpose is unclear. A short review during refinement can prevent that rework.
Assign ownership for important test areas and agree on a review rhythm. For a frequently changing checkout flow, review cases with each significant change. For a stable settings page, a less frequent review may be enough.
A complementary project-management option: ONES.com

Value proposition
ONES.com brings project management and knowledge management together on one platform, powered by ONES Assistant. ONES Project is a Jira alternative, while ONES Wiki is a Confluence alternative; they are sold separately.
Core capabilities
- Scattered project work: ONES Project provides Jira-compatible workflows, helping teams coordinate tasks within a familiar project-management pattern.
- Limited workflow flexibility: Custom workflows and fields let teams represent their processes more closely, so teams can capture the stages and details they need.
- Sprint coordination: Sprint management supports planning and tracking iterative work, giving the team a place to follow progress through a cycle.
- Manual status reporting: Built-in reporting helps teams review project progress without assembling every update by hand.
- Repeated routine actions: Automation can handle selected workflow tasks, reducing repetitive coordination work.
- Separate project and team knowledge needs: ONES Project supports project management, while ONES Wiki supports knowledge management as a separately sold product.
- Deployment constraints: Teams can choose Cloud, On-Premise, Private Cloud, or Air-gapped deployment to match their operational environment.
- Concern about self-hosted capability: ONES states that its cloud and self-hosted versions have full feature parity, so deployment choice does not require accepting a reduced feature set.
Application scenarios
A team assessing a Jira alternative may consider ONES Project when it needs project workflows, sprint management, custom fields, and reporting. ONES Project is not Xray, so teams should assess test-management requirements separately rather than assuming Xray features transfer.
A company with restricted network requirements may evaluate On-Premise, Private Cloud, or Air-gapped deployment. A team seeking project and knowledge management can also assess ONES Wiki separately from ONES Project. ONES.com offers a free plan for up to 30 seats.
Common challenges when managing tests in Jira
- Tests are difficult to find. Agree on a naming convention and organize cases by stable product areas or testing purpose. Avoid creating several groups with nearly identical meanings.
- Coverage looks complete but tests have not run. Review links and recent execution status together. A connected test shows planned coverage; an execution shows whether the team actually checked it.
- Test cases become outdated. Review affected cases during refinement or defect resolution. Assign an owner for critical areas so updates do not depend on someone noticing an old step by chance.
- Execution results lack context. Ask testers to record the observed behavior and useful environment details. When a failure appears, link the related defect and keep the execution connected to the relevant cycle.
- Automated results are hard to interpret. Confirm how automation connects to Xray in your Jira setup, then agree on how statuses and failures appear to the team. Verify integration behavior against your installed versions.
Frequently asked questions
What is a test case in Xray for Jira?
A test case in Xray is a Jira issue used to describe a check, such as verifying that a user can reset a password. It can include steps, expected results, and other fields configured for your project. Teams can organize tests into sets and plans, then record outcomes through executions. The exact fields and workflow depend on your Jira and Xray configuration.
What is the difference between a test set, test plan, and test execution?
A test set groups related tests, such as checks for a sign-in flow. A test plan organizes testing for a broader effort, such as a release. A test execution records a particular run and its outcomes. A team might place an account-access test set in a release plan, then create executions for staging and production-readiness checks.
Can Xray manage both manual and automated tests?
Xray supports manual and automated testing workflows, though the setup and integration details depend on your Jira environment and Xray edition. Manual tests commonly describe steps and expected outcomes. Automated workflows connect test results from supported frameworks or integrations. Before planning an integration, check compatibility and configuration guidance for the versions your team runs.

How should I start if my Jira project already has many tests?
Start with one important product area or an upcoming release. Review its tests for duplicates, unclear steps, missing links, and cases that no longer match current behavior. Agree on naming and ownership before expanding the review. This lets you improve a useful subset first, then apply the same habits to other areas as the team gains confidence.
Conclusion
Managing test cases with Xray in Jira works best when your team creates clear tests, organizes them with a deliberate structure, links them to requirements, and records executions consistently. Regular reviews help keep coverage relevant as your product changes.
Unstructured tests can slow releases and make failures harder to understand. Start with a focused set of important cases, improve their links and execution context, then expand the process. With steady maintenance, Xray can give your team a clearer view of what has been checked and what still needs attention.