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

Cloning a Test Execution automatically through Jira Automation results in an empty issue

Dear all,

I have a problem with cloning an issue from the type Test Execution through the Jira Automation. The original Test Execution issue that is cloned has already the required tests inside. By cloning that issue manually the tests are copied as described in the documentation of XRAY

When cloning a Test Execution issue, all the Test issue associations will also be cloned.  However, a new Test Run is created for each Test so that the new Test Execution issue has no execution state.

Test Environment associations will be cloned as well.

However, when I set a rule to clone that original Test Execution issue it doesn't include the Test issue associations. The rule is triggered by a version created and a set of issues are automatically created. One of them should be the cloned Test Execution issue. I set a condition first to branch rule/related issues and set the issue key equal to the original one followed by a clone action.

It is important to figure out what I'm doing wrong as adding manually tests is really time-consuming. Maybe I'm doing something wrong with setting the rule. Please let me know if you have any ideas as to how to solve this problem. 

Thank you in advance!

Evanthia Charalampidou

1 answer

0 votes
Jane Yeoh Atlassian Team Dec 01, 2020

Hi Evanthia,

Jane from the automation team here. Are you able to please send a screenshot across of your rule so I can have a better look for you? It sounds like you're doing the right things, but without the configuration of your rule, it's hard to tell if there is a misstep somewhere. 



Hi Jane, 

thanks very much for getting back to me. Here's a screenshot of the rule. 


Screenshot 2020-12-03 at 15.04.28 (2).png

Jane Yeoh Atlassian Team Dec 03, 2020

Thanks for that Evanthia! 

It looks like we will need further investigations into this. Are you able to raise a support issue at with:

  • Details of the audit log - with More details expanded. This will tell us if your rule ran with errors, or if certain conditions have failed, or if it just doesn't perform any actions.
  • This screenshot included - this way, our support engineers will be able to look at how you've configured your rule and may be able to replicate this.

They may also ask you for further details, depending if they were able to suss out what's going on.

Sorry I couldn't be of much help! I'm hoping we can get to the bottom of this for you via support.




Thank you Jane!


I asked my Jira administrator to reach out to support for further investigation. I really appreciate your help!




Hi Evanthia and Jane,


Did you get closer to a solution?

I'm facing the same issue now.




Hi Gábor,


unfortunately it was not possible to clone a ticket with the tests through the automation. So the ticket would always be cloned empty. We just continued cloning manually. Hopefully, this will be enabled in the future.




Hi Evanthia,

Thank you for your quick response.

After my comment here, yesterday I found this ticket:

I don't know you found it too or not but maybe it worth a vote from you as well :)



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

822 views 17 21
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