Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automate rule help : Adding a created test execution into the same fix version as a trigger issue

Nicola April 4, 2024

Hi All,

I am stuck on a rule - please could someone help or offer any advice?

I want to create a rule that looks like this:

  • When an issue is added to a fix version, a test execution is created and linked to the trigger issue. But I also want that test execution to be added to the same fix version as the initial issue.

I managed to get the first part going, but I just can't figure out how to get the test execution added to the same fix version as the issue.

Any ideas would be much appreciated as always from this knowledgable community.

Thank you in advance

2 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2024

Hi @Nicola 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

When you create the issue (i.e., text execution) please select the Fix Versions field and copy the value from the trigger issue.

Kind regards,
Bill

Nicola April 5, 2024

Thanks Bill. Here is a screenshot of what I have so far but its not complete.

Capture.PNG

Nicola April 5, 2024

The option you suggested is not available and that is what I was expecting to see. The drop down under Fix Versions just asks me to select a previous or current version.

Capture.PNG

Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 5, 2024

Hi @Nicola 

As Bill has suggested, on the edit issue screen, beside the Fix Version field, click the 3 ellipsis, choose Copy from, and select Trigger Issue to copy from and select Fix Versions from the dropdown field, as shown in below screenshot.

 

 

image.png

Like Bill Sheboy likes this
Nicola April 5, 2024

Yess! Thank you! Apologies I missed the ellipsis.

Thank you @Bill Sheboy @Kalyan Sattaluri - much appreciated!

Like Bill Sheboy likes this
0 votes
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2024

Hello @Nicola 

Is this "test execution" a Jira issue?

If you have linked your newly created issue to trigger, I am guessing yowu know that you can reference this newly created issue as {{createdissue.key}}

I am not sure how you are linking it but to solve assigning fix version part.. you continue...

you do a branch, do a JQL with key = {{createdissue.key}}

then action edit issue and choose fixversion field and assign it {{issue.fixVersions}} smart value in the field.

Hope it helps. Please let us know if issues.

Nicola April 5, 2024

Hi Kalyan, Thanks for replying. Test execution is a Jira issue yes.

I am not familiar with branching but I will have a look and do some more reading to see if I can get your suggestion to work thank you!

Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 5, 2024

Please see response on other post. Thats the correct / easy way to assign this field. No need for branching etc. Hope it helps and accept his answer if solution works!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events