We are trying to send additional Xray test case attribute through testCaseInfo.json file while importing a feature file . Do you have a sample payload to send testInfo as part of form_data?
End point we use:
"https://xray.cloud.xpand-it.com/api/v1/import/feature?projectKey
HI @mrajaram
To see all the fields that can be passed through the JSON file when using the multipart endpoint, please take a look into this link: https://confluence.xpand-it.com/display/XRAYCLOUD/Import+Execution+Results#ImportExecutionResults-XrayJSONformat
Best Regards,
Team Xray
HI @mrajaram ,
please take a look at the JUnit XML multipart endpoint in the docs, you need to click the example to see the details.
https://confluence.xpand-it.com/display/XRAYCLOUD/Import+Execution+Results+-+REST#ImportExecutionResultsREST-JUnitXMLresultsMultipart
For more information about that JSON format, check the Jira documentation here. Xray will ignore the issue type and the summary fields on the Test JSON file since these are provided by the importation.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
Basically, we use the JSON format and the "fields" object that you provide on Jira REST API calls to update/create issues.
Regards,
Sergio
It looks like you're new here. Sign in or register to get started.