Keep requirements, tests and defect in the same project - The All-in-One approach
You can use a single project to manage your Requirements and Defects, Test-related issues as well as all your Test Executions.
To enable this approach you need to perform the following actions as an admin:
Create Project
You may not need to create a new project.
You can simply add Xray Types to our existing project
Enabling Configure Requirement Coverage
Enabling Configure Xray Issue Types
Project Scope
Single project that is a Requirement Project & a Test Project at the same time
Tip
The All-IN-One approach is the simplest and is the one suggested during the Basic Setup.
Most organizations use this simple approach!
UI Step
Don't mix my Requirements and Defects with Tests
If you already have a Jira project for managing Requirements and Defects and don't want to have any tests nor executions in this project, you can create a separate companion project just for testing purposes.
To enable this approach you need to perform the following actions as an admin:
Create Project
Create a Project for Testing Purposes
Enabling Configure Requirement Coverage
At Requirement Project
Enabling Configure Xray Issue Types
At Testing Project
Project Scope
1 Requirement Project
1 Testing Project
UI Step
Dedicated repository for Tests
Another common use case for Xray is to have a dedicated project for Test (and Pre-Condition and Test Set) issues. Test Executions are the responsibility of other project(s). This separation allows you to manage permissions more effectively, so maybe only a few testers have permission to write tests and others only have permission to execute.
Of course, this use case can also be combined with the previous one by having separate projects for managing Requirements and Defects.
To enable this approach you need to perform the following actions as an admin:
Create Project
Create 1 Project with Tests
Create 1 Project with Test Executions
Enabling Configure Requirement Coverage
At Requirement Project
Enabling Configure Xray Issue Types
At 2 Testing Projects
Project Scope
1 Requirement Project
2 Testing Project
UI Step
Completely separate
In this use case, the Tests, Requirements, Executions & Plans and Defects all separated and being handled on different projects.
Create Project
Create 1 Project with Tests
Create 1 Project with Test Executions
Create 1 Project for Defects
Enabling Configure Requirement Coverage
At Requirement Project
Optionally, you can enable also at Defects Project