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] How to link test and test execution in Jira automation ?



I'm trying to create automatically an execution on a test creation (using Xray) through Automation.


So far, I can create an execution and copy the summary and the description, but now I'm stuck with the link between a test and its execution. 

I've tried advanced field editing, and several things, but the link is not working ...


Any ideas , suggestion or solution ? :)



2 answers

1 accepted

For those who looks for ideas, I found a way to solve mine : I've used Web Request Action to send a web request to Xray Cloud to create my Test Execution. It works perfectly. So now, when I create a test, an execution is automatically created linked to my test ! 

Hi BeltramiDaniel,

In my experience I do not think this is currently possible in the Xray Cloud version. What you are describing here, the connection between a Test and a Test Execution is not actually a link. So for that reason you are not able to create it via automation.

From what I understand, when a Test is added to a Test Execution, it basically creates a "Test Run" or another instance of that Test in respect of the Test Execution. We tried to implement some automation rules around Test Runs in our company, and we found it was not an issue type in Jira, so we struggled doing anything regarding automation for Test Runs.

I am not sure if this is the same issue for you, but I would recommend opening an Xray technical question and confirming with the Xpand IT team if this is possible. If it is, would you mind also sharing back to this forum? There is a difference between Xray Cloud and Xray Server functionality as well, so be aware of that as well. 

Not very helpful, but hopefully that helps a little.

Hi Rawan, I'm gonna try the link you sent me and let you know if there is any possibilities

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

107 views 1 8
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