Create subtasks using script running without inheriting links

I am using the Script workflow function to create a sub-task. Everything seems to be working as expected except that it is inheriting the issue links from the parent. How do I suppress this behavior?

3 answers

1 accepted

You could use the checkLink closure in the additional code field to disable linking.

checkLink = {link->false}

This is documented for the builtin script "Clones an issue and links" but works for sub-tasks as well.

 

 

0 votes
Henning Tietgens Community Champion Feb 25, 2014

You have to copy the script and modify it to match your needs.

Thank you. I'm still need a little green. Can you point me to any reference documents on how to do this?

Henning Tietgens Community Champion Feb 26, 2014

Modifying the script is more difficult than I first thought because the linking isn't done in the script you see. But I found another way more easier way, see my other answer :-)

You could use the checkLink closure in the additional code field to disable linking.

checkLink = {link->false}

This is documented for the builtin script "Clones an issue and links" but works for sub-tasks as well.

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,085 views 13 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot