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

Jira automation: Linked Issues - Variable works in one clone and does not work in another

Cláudia Silva May 24, 2024

Hi,

After starting with the trigger for the existence of an update in a certain field of an issue, there is a clone of that same issue and I create a variable to have access to its {{createdIssue.key}} which I named {{cloneParent}} .
Then I want the linked issues of both the "Requirement" type and the "Functional Area" type to be cloned and the linked issue of the "is tested in" type to be the issue that I cloned previously and therefore I put the variable {{cloneParent}} . The issue is that for the "Functional Area" type it works perfectly but for the "Requirement" the issue is cloned but the linked issue does not appear.. And the process is exactly the same..
Is there any explanation as to why it works in one and not in the other?

screencapture-peekmed-atlassian-net-jira-settings-automation-2024-05-24-12_21_11.pngvariable .png

 

Thank you !!

 

1 answer

1 vote
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2024

Hi Cláudia

What is the difference between the two issues? Are they in different projects? Different Issue Types? Other things? 

Cláudia Silva May 24, 2024

Hi John,

First of all, thank you very much for the brief response. They are from the same project, the only difference is the type of issue, where one is of the "Requirement" type and the other is of the "Functional Area" type. However the issue type "Requirement" is an epic.. Is tested in.png

Functional Area.pngRequirement.png

Still, these two tasks are "is tested in" in the main issue and now that I cloned the main issue I wanted the two cloned tasks to appear in "is tested in". With the "Functional Area" type task I didn't have any problems but with the "Requirement" nothing happens. However, if instead of putting the variable in "is tested in" and just saying "Copy linked issues from current issue" both the cloned and the main variable are in "is tested in". My question is as I don't want to keep the original in "is tested in" I was trying to put the url of the cloned issue..

Cláudia Silva May 27, 2024

If you need any more information, please let me know. Thank you !!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events