Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 6.14.0
-
None
-
None
-
Work flow
Description
Description
Xray Cloud does not consistently enforce the Jira workflow property"jira.issue.editable = false" for Test Plans.
Although the Test Plan becomes non-editable when viewed directly, it can still be modified indirectly from a Test Case, which leads to data integrity issues and violates expected workflow behavior.
This inconsistency allows users to add Tests to a locked Test Plan even when the Test Plan itself is explicitly configured as non-editable.
Pre-conditions
- Jira Cloud project with Xray Cloud installed.
- Workflow configured for Test Plan issue type with the following statuses:
Open → jira.issue.editable = true
Locked → jira.issue.editable = false - At least one Test issue exists.
How to reproduce
Step 1 — Create and Verify an Editable Test Plan
- In Jira, create a new issue of type Test Plan.
- Set the Status of the Test Plan to Open.
- Open the Test Plan.
- Click Add Tests and add any existing Test.
- Remove the Test again.
Step 2 — Lock the Test Plan
- Change the Status of the same Test Plan from Open to Locked.
- Open the Test Plan again.
- Attempt to:
- Add a Test
- Remove a Test
Result:
All modification options are disabled.
The Test Plan cannot be edited directly (expected behavior).
Step 3 — Modify the Locked Test Plan Indirectly
- Open any existing Test issue.
- In the Test issue, click Add to Test Plans.
- Select the same Test Plan that is currently in Locked status.
- Confirm the action.
Result (Actual):
The Test is successfully added to the Locked Test Plan, even though the Test Plan is non-editable.
Result:
Actual result/Attachments
- The user should not be able to add Tests from the Test Plan screen (this already works correctly).
However, although the Test Plan is locked, the system still allows adding Tests through the Test issue view, which violates the intended restriction and causes inconsistent behavior.
Expected result
- When a Test Plan is in Locked status, it must not be possible to add or remove Tests from it in any way.
- The user should also not be able to add Tests from the Test issue screen using “Add to Test Plans.”
Workaround
N/A