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

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 Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

335 views 0 1
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