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

aymon.debroglie October 5, 2021

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 7, 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

aymon.debroglie October 8, 2021

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

Like Neil likes this
aymon.debroglie December 7, 2021

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
AUG Leaders

Atlassian Community Events