Unexpected links between cloned children with ScriptRunner

MattS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2015

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

2 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2015

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

 

MattS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events