Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

UI Steps
UI Step

Decide which issue types to use


Tip

Discuss with your team which issue types you will consider as Requirements & Defects. If none of the existing issues types are suitable, you can always create new ones!

Nevertheless, remember that you can re-use existing issue types and you don't need to create extra ones.

What issues type can be used as Requirements?

Basically, any issue type can be mapped as a Requirement in Jira, but the most common ones are: 




What issue types can be used as Defects?

As with Requirements, any issue type can be considered a Defect. 

The most common to use is the "Bug" issue type that is available by default when you install Jira Software.




Warning

Please see configuring Next-Gen projects for information on how to configure issue types for those specific type of projects.

UI Step

Map Requirements & Defects


Access your project settings > Xray Settings > Test Coverage

Perform the desired mapping and  Click "Save"


Access your project settings > Xray Settings > Defect Mapping



Perform the desired mapping and  Click click "Save".

UI Step

Confirm Sub-Requirements behaviour

By default Xray will have the following settings enabled in your "project settings > Xray Settings > Test Coverage"


This means that a Requirement can be associated with Sub-Requirements, resulting in a hierarchy of Requirement issues. With these options enabled, you will have this behaviour by just using the relation: 

  • Issue > Sub-Task - For example using issue types like "Requirement" & "Sub-Requirements"
  • Epic > Story 


Note

To have "Sub-Tasks / Links" working correctly, you need to have the Sub-Task requirement issue types associated with "Requirements" in the "Issue Type Mapping" section. For example, you can create a new issue type Sub-Requirement / Sub-Story and mapped as a Requirement.


If you decide to disable these options, you can set the sub-requirement behaviour using the Jira linking mechanism. You just need to select which "Issue Link Type" to use and the correct "Direction. 



Note

A Jira re-index operation is recommended when there are changes to Issue Type Mappings.



...