Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation rule propagates from epic to stories where it should not

Anna Havlovska July 18, 2023

Hello community,

I have automation rule stating to copy any changes to description to sub-tasks from story in case of any updates. Recently, I noticed that this rule applies to all stories in the epic in case the description of the epic has changed, although the branch in the rule explicitly states it should only apply to issue type of 'sub-task'.

Have someone faced the same issue or can help me out here?

 

Thank you!

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
July 18, 2023

Hi Anna,

Sub-tasks are not directly connected to Epics. They must go through the parent of the Sub-task/child of the Epic. So it would not make sense to update the sub-task and not update the object in the middle. 

Anna Havlovska July 18, 2023

I do understand that, but I do not want to update any stories or subtasks, when description is updated on Epic level and that's exactly what is happening for me. I only need to sync story and its sub-tasks when I change the description on story level.

Anna Havlovska July 18, 2023

Or are you saying that it updates stories just because i have a rule to update subtasks?

Anna Havlovska July 18, 2023

So basically here is my rule:

image.png

So here on top by Issue Updated/Assigned is it considering Epic as issue as well and that is why it is updating sub-tasks together with stories? Should I add the condition saying when updating only Stories or Bugs - so that it is omitting epics for this rule?

John Funk
Community Champion
July 20, 2023

Sorry for the confusion - it wasn't clear to me how Epics were coming into the picture. 

Yes, it would probably fire for Epics also, so just add another condition at the top to see if the Issue Type = Story (or issue type not in (Epic, Sub-task).

Like Anna Havlovska likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events