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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

358 views 0 6
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