Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
4.2.2
-
None
-
None
Description
When using the Xray Rest API to return Test run details, the Test Run and Test Steps custom field created as "Number field" type are not being returned as a number object.
- Test Run CF - returns a String with the value
- Test Step CF - returns a String with the value using a separator according to the profile settings (language)
Steps to replicate
Step | Result |
---|---|
Create Test Run & Test Step Custom fields as "Number field" | |
Values for the Test Step and Test Run CF | |
Endpoint response |
Endpoint used: http://localhost:8686/rest/raven/2.0/api/testrun/868
It should return a number object instead of String. The separator should be used only for float/double.