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

Not able to add a preconditions to the test cases in XRay Cloud

We are using Xray Cloud, we uploaded test cases using test case importer default in XRay. Now when we are trying to add a precondition to the test cases it is displaying as "Preconditions were not added to the Test because the precondition did not match that of the test"

Can some one help us to add a pre condition to test cases?


Attaching Screenshot

Thanks for the help in advance!!XRay PreCondition issue.png

1 answer

1 accepted

1 vote
Answer accepted

Hi @Madhuri

The Test Type and the Pre-Condition type match? In order to be able to link them, both have to be of the same type.

For more information, please contact us through our service desk.

Best Regards, 

Team Xray

@José Domingues _Xray_  

It worked.

Thank You for the help!!

I have another query, is there any way to add a precondition to the test case while exporting the test cases?

I really had a hard time to add preconditions to the test cases manually after exporting them.

Hi @Madhuri

One way for you to add a precondition to the test case is through REST API, more specifically, GraphQL API. Using the addpreconditionstotest mutation, you'll be able to do that operation.

Best Regards,

Team Xray 

Like Madhuri likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

464 views 5 18
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