Sub-task Won't inherit Watchers

Cameron Jezorek October 30, 2013

I have added the post function:

The value(s) of field Watchers will be set from the issue's parent (replacing existing values).

to my sub-task workflow however no matter where I place it - before or after creation - the sub-tasks do not pickup the watchers from the parent ticket.

How can I get this function to pickup?

1 answer

1 accepted

0 votes
Answer accepted
Tanner Wortham
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.
October 30, 2013

instead of a post function, create a listener that executes on issue creation. in your code, look to see if it's a sub-task that's just been created. if so, then grab the watchers from the parent and add them to your new sub-task.

Suggest an answer

Log in or Sign up to answer