script runner post function create subtask: how to block link creation?

Aspect Infra Team
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.
September 1, 2013

then i create subtask in postfunction with "create subtask" built-in scripts of script-runner plugin it copy all fileds to subtask

i found already how to overrive most of fields the only problem persist

i need to block coping of links from parent issue

issue.issuelink = null

doesnt work, how i can block link creation?

1 answer

0 votes
Alex Corsun September 10, 2014

You can try adding " checkLink = {link -> false}; " in additional issue actions - it will delete additional parent links (but still keep standard sub-task link to a parent issue).

Suggest an answer

Log in or Sign up to answer