Counting field values ​​from deleted subtasks

Aleksandra Sobusiak December 6, 2024

Hi,

we use automation that counts the sum of values ​​from a specified field in subtasks and then inserts it into the appropriate field in the Parent Issue. Unfortunately, the automation also counts subtasks that have been moved to another Parent Issue, as well as deleted subtasks.

How to deal with this?

1 answer

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 6, 2024

I would have to see your rule to better understand. I suspect that the count occurs before the move/delete. 

Aleksandra Sobusiak December 9, 2024

1.png2.png

 

This is a simple automation that repeats itself every day at a specified time. I don't know why it still includes values ​​from deleted/moved subtasks.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 9, 2024

I would add a log entry just before branch to record the sub-tasks that are to be summed. Then you can scrutinize each sub-task and the value in the custom field. If indeed it is including deleted issues please report to Atlassian Support.

Aleksandra Sobusiak December 10, 2024

Could you please explain in more detail what exactly to do?

I've only been using Jira for a short time.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 10, 2024

Hi @Aleksandra Sobusiak , build a separate quick test rule as shown below. Change the JQL in the Lookup Issues action to align with your desired conditions. Once you build the rule, then click on the… Beside the rule, and choose "run". What you should receive in the email is a list of issues that would be considered in your other rule. There should not be any deleted issues there. I would be extremely surprised if there are.

IMG_4947.jpeg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events