Unexpected links between cloned children with ScriptRunner

We are using the built-in script for creating an issue in another project and linking it back to the current issue as part of a post function. This works fine, but when we create another issue the same way we see a link being created between the two "child" issues. Is that intentional? It's not documented if it is.

https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Clonesanissueandlinks

3.0.16

Perhaps some context didn't get cleared as expected after the first issue was created and the new issue key just got appended. Or something. (handy waving)

 

1 answer

This widget could not be displayed.

Hi Matt... Can you expand a bit? Say you clone A to B1, then again A to B2, are you saying there is a link B1<->B2?

If so, it's because links are cloned as well by default... you can turn link cloning off: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Controlofcloninglinks

 

Yes, exactly. Thanks for the pointer to the docs.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

428 views 3 17
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you