How to resize T-Shirt size when story linked to epic is canceled?

Rita Arellano
Contributor
November 8, 2024

Hi all, 

My automation works well as far as the following goes: 

  • Story Points are summed at an epic level and T-Shirt Size gets set accordingly: 

XS = 50 hrs. or less

S = 51-100 hrs.

M = 101-250 hrs.

L = 251-500 hrs.

XL = 501 hrs. or greater

  • When Story Points change values - that too rolls up from the story to the epic accordingly. 
  • When the story transitions to the status of 'Canceled' the story points from the stories get reduced accordingly at an epic level. 

Issue is that the T-Shirt size does not get adjusted accordingly after the story is 'Canceled' we only see the summation of the story points get adjusted accordingly, but the T-Shirt size field does not update. 


 

How can I ensure that the T-shirt size field updates appropriately after story points are subtracted at the epic level—specifically when a story with the status 'Canceled' alters the total story points? While the story points are updating accurately, the problem is that the T-shirt size isn't reflecting the change after the summation adjusts due to a 'Canceled' story. The T-Shirt size value just does not update. 

This is my automation below, please let me know what I am doing wrong. 

1.jpg2.jpg

1 answer

1 accepted

1 vote
Answer accepted
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2024

Hi @Rita Arellano ,

From what I've got from the question above, you would like to sum all story points from issues under the epic and 'exclude' stories that are in status 'Canceled'.

On the first glance here, shouldn't Lookup issues contain JQL such as

"Epic Link" = {{issue.key}} AND status != "Canceled"

As with the current query, you'll always include everything under that particular parent/Epic, including stories that are in 'Canceled' status.

Cheers,
Tom

Suggest an answer

Log in or Sign up to answer