Details
-
Suggestion
-
Status: Shipped
-
Major
-
Resolution: Done
-
None
-
None
Description
If Jira is configured with required fields for the Test Issue type it won't be possible to use this endpoint as it is currently not possible to provide values for these fields in the REST API request.
Xray REST API will allow adding values for issue fields/custom fields when using the cucumber feature REST API. (import/feature)
Xray Jenkins plugin should also allow to pass any field for when importing feature files.
- The Import Cucumber features task must provide two new parameters for JSON files to be used as a template for creating new Tests and Pre-Conditions respectively.
- Xray must support a new parameter named "testInfo" to pass the JSON file containing the fields for creating Tests.
- Xray must support a new parameter named "preCondInfo" to pass the JSON file containing the fields for creating Pre-Conditions.
- The user should be able to directly insert the JSON as content in the text field or as a path to the JSON file.
- The JSON file format is the same as Jira uses for the REST API (https://docs.atlassian.com/software/jira/docs/api/REST/8.2.0/?_ga=2.111455874.746998918.1558343025-232874918.1557136424#api/2/issue-createIssue)
Attachments
Issue Links
- relates to
-
XRAYJENKINS-60 Import execution results task should allow to pass any fields for Test creation
- Shipped
-
XRAY-3842 Cucumber feature REST API - support for required fields
- Closed