Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

evanthia.charalampidou November 27, 2020

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

Cheers,

Jane

evanthia.charalampidou December 3, 2020

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

Thanks for that Evanthia! 

It looks like we will need further investigations into this. Are you able to raise a support issue at support.atlassian.com 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.

 

Regards,

Jane

evanthia.charalampidou December 10, 2020

Thank you Jane!

 

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

 

Best, 

Evanthia

Gábor Kovács July 20, 2021

Hi Evanthia and Jane,

 

Did you get closer to a solution?

I'm facing the same issue now.

 

Best,

Gábor

evanthia.charalampidou July 21, 2021

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.

 

Best,

Evanthia

Gábor Kovács July 21, 2021

Hi Evanthia,

Thank you for your quick response.

After my comment here, yesterday I found this ticket: https://jira.getxray.app/browse/XRAYCLOUD-3165

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

Best,

Gábor

Suggest an answer

Log in or Sign up to answer