We have Story. Under story, at the sub-task level, we have Issue Type A and Issue Type B.
There can be many number of Issue Type B but only one Issue Type A.
When an Issue Type B is created, it should automatically get linked to Issue Type A.
Can this be achieved through automation/post-function?