Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve manual test steps in API response using GET or add steps using POST

Mahima.V
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!
February 8, 2020

Hi  Team, 

I have 2 issues:

GET:

I have tried fetching details of an Xray test using https://<>.atlassian.net/rest/api/2/issue/<key>

I am unable to retrieve the test steps in the API response. 

POST:

I am trying to add test steps in a post call. Unable to do so.

Request:

{
"fields": {
"project": {
"key": "<>"
},
"issuetype": {
"name": "Xray Test"
},
"summary": "Summary",
"description": "Description,
"labels": [],
"priority": {
"name": "Minor"
},
"customfield_10027": [
{
"value": "<>"
}
],
"customfield_10041": 4,
"reporter": {
"name": "Mahima.Viswanathan"
},
"assignee": {
"name": "Mahima.Viswanathan"
}
}
}

Response: is a success 

However i am unable to add any fields for the manual steps in the request. Hence, the steps and expected results are not populated.

Could you please help me with this issue? 

Please reach out to me incase you require more details.

1 answer

0 votes
José Domingues _Xray_
Atlassian Partner
June 5, 2020

Hi @Mahima.V

You can look at our Xray GraphQL API documentation for guidance: https://xray.cloud.xpand-it.com/doc/graphql
If you still face difficulties or have any questions please contact our Support Service desk.

Best Regards,

Team Xray

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events