On execution of automation suite update Fix Version in Test Run in Xray test

Rahul
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2023

Hi All,

Please let me know if there is any specific authentication required to update XRAY Test> Test Runs > Fix Versions

It will be great help if you provide XRAY API with JSON details to update Fix Versions in Test Runs

 Need to update fix version on automation suite exeuction.fixversion.png

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 9, 2023

Hi @rahuldmali and welcome to the community,

Xray's REST API can be found here https://docs.getxray.app/display/XRAY/REST+API

I would use this request:

 PUT /rest/raven/1.0/api/testrun/{id}/

Example JSON can be found on here.

Rahul
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2023

Thank you for quick response. Appreciate it.

I have gone through below XRAY REST API link.

https://docs.getxray.app/display/XRAY/REST+API

It looks like XRAY not supporting updating "Fix Version" through REST API.

As per above documentation page It only supports below list of fields for update - 

status, comment, assignee, defects, evidences, examples and steps.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 9, 2023

Then it seems that it can't be done. You can always ask for an official response from xray's support.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events