Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you