Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,802
Community Members
 
Community Events
168
Community Groups

Xray Api : how to unassign test runs using the API ?

I'm trying to unassign test runs using the xray graphQL API. 
I'm running the following query on  https://xray.cloud.xpand-it.com/api/v2/graphql

mutation {{
updateTestRun(id : "{test_run_id}", assigneeId : null) {{
warnings
}}
}}

 But this does not unassign the test runs. I've tried null, "None" , "Unassigned" but nothing works. 
If I put a user_id the update works as expected. 
How could I unassign test runs ? Thanks ! 

1 answer

0 votes
Neil Atlassian Team Oct 07, 2021

Hi @aymon.debroglie. Welcome to the community! You might consider contacting Xray directly for support: https://jira.xpand-it.com/servicedesk/customer/portal/2

Hi, I have contacted them as well , If they answer me I'll post their answer here ! 

Like Neil likes this

In fact it is not possible to unassign with the API see this feature ticket 
https://jira.getxray.app/browse/XRAYCLOUD-4320

Like Neil likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

110 views 0 9
Read article

Atlassian Community Events