Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

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

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 _Atlassian_ 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 _Atlassian_ 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

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

369 views 2 15
Read article

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