Automatically linking sub-task created via post-function


I have a set of post-functions that create sub-tasks for a particular issue type. All of these sub-tasks are required for the source issue, however 3 of the sub-tasks need to be linked to a 4th subtask as blockers. The post-functions to make all of the sub-tasks work fine. 

Currently our product manager goes in to these sub-tasks and manually links them. 

I'm wondering if there is a way that in the post-function that creates the subtasks if I can add the issue link as well? I've tried the clone issue and link scripted post-function, however that won't tie the cloned sub-task to the source issue. 

This is the structure we are looking to achieve through these post-functions:


1 answer

Hi Collin,

You can use Create on Transition addon to create the subtasks and link the 3 subtasks as per your requirement.

Have a look at the addon at the marketplace.

There are many other things which you can do using this addon. Read the documentation here.

Feel free to ask questions and we would be happy to help.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

711 views 6 13
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