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.



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

2 votes

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

115 views 0 4
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