I have a created a Jira Automation rule to achieve when story is moved to cancelled, cancel all open subtasks. However, i am facing 2 challenges:
1. Out of 'N' Sub-tasks tagged to a story if atleast 1 of them is in done state ,when i move my parent story to cancelled all sub-tasks attached move to cancelled but not the one which is already in DONE state
2. When i move back my story from cancelled to other transition state then the sub-tasks are still in cancelled state as rule was applied earlier.