Why are my clone issues not linking to my trigger issue in my automation?

Jeremi Nilsson July 25, 2023

I have an automation rule that makes a task every time an epic is moved to in progress as shown, image (18).png

I want it to link the task created to the epic but i can't seem to get the link to work. I have tried many combinations in the And: Link Issue to rule and it says it passes fine in the log (as shown below) image (19).png

but the epic link doesn't populate as shown below,image (20).png

Am i missing something in the automation? I want the Epic link to populate on the task with the Epic that triggered the automation. Any suggestions on a fix? Thank you.

1 answer

1 accepted

0 votes
Answer accepted
Luka Hummel - codefortynine
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 26, 2023

Hi @Jeremi Nilsson

I'm Luka from codefortynine.

To link the trigger issue to the newly cloned issue, you either need to use a FOR EACH branch for the Most recently created issue and then link the issue to the Trigger issue or

2023-07-26 09-22.png

you can just link the issue to the Most recently created issue. This of course would break if multiple issues are created in your automation.

2023-07-26 09-22 (2).png

If you need to clone more data, like custom fields, from your source issues or notice that your clone breaks when making changes, I want to suggest using our Deep Clone for Jira app. You can also use a Deep Clone preset as a workflow post function and use looping transitions to have it trigger in an automation.

Jeremi Nilsson July 26, 2023

The link says it was successful but the epic link is still not populated.image (23).pngimage (22).png

Luka Hummel - codefortynine
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 27, 2023

Ahh! I misunderstood your question. The Epic Link isn't an issue link but another field value.

You can edit the Epic Link/Parent field when cloning under More options like this:

{
"fields": {
"parent": { "key": "{{issue.key}}" }
}
}

2023-07-27 10-26.png

Jeremi Nilsson July 27, 2023

That worked, Thank you a ton!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events