Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Xray DC 7.11.3
-
None
-
None
-
REST API
Description
Description
The user can update the Test Run custom field via the Rest API, even without execution permission in a restricted workflow status.
Pre-conditions
- Go to Admin settings >> Manage Apps >> Xray >> Miscellaneous >> Disallow Test executions with workflow status.
- Create a Test Run Custom field.
How to reproduce
- Create a Test Execution.
- Add a Test to the Test Execution.
- Move the workflow status to the In progress(Disallowed status)
- Update the Test Run Custom field with REST API(/testrun/{id}/customfield/{customFieldId})
Actual result/Attachments
The user is able to update the Test Run custom field in a restricted workflow status.
Expected result
It should throw an error as below.
Version
- 7.11.3-j9
Workaround
Â