How to Update Pass and Fail status in xray through automation

Panchshila Mahadev Dhanwe
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!
December 27, 2023

Hi, I have created one project in java selenium and created one code which will raise defect automatically in jira after testcase fail though automation.

Now I want to update pass and fail status of the respective testcase in xray. 

I have tried to do it using api below but i am getting 400 bad request error

https://panchshila-m-dhanwe.atlassian.net/rest/raven/1.0/api/JIR-20

I have tried above api manually through postman there i am getting 404 error

Postman Error:

status>
    <status-code>404</status-code>
</status>

Eclipse Error:

head><title>400 Bad Request</title></head>

<body>

<center><h1>400 Bad Request</h1></center>

<hr><center>nginx</center>

</body>

</html>

 

Can Anyone help me with solution on this

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events