I'm using the SS Jira connector for Jira and have create a template for my team to use. As part of this template I want to calculate the % completed field based on the task's status (the built in % complete of the gantt project only work at the parent level after manually inputing a value for the child task).
I've been able to set a formula for all of my child tasks where the percentage complete changes based on the status column for that row. This part works well. Here's the formula for reference:
=IF(Status9 = "Backlog", "0%", IF(Status9 = "In Progress", "14%", IF(Status9 = "Code Review", "29%", IF(Status9 = "QA Dev/UAT1", "42%", IF(Status9 = "QA Live", "58%", IF(Status9 = "Client Review", "71%", IF(Status9 = "Next Release", "86%", IF(Status9 = "Done", "100%"))))))))
However, I am trying to now get an average of the child tasks at each parent level, and then ultimately an average at the epic level which averages the values of all the parent tasks. No matter which variations of the AVG formula I've tried it does not return a value. In fact, even if do a simple SUM that too returns a 0. Can anyone help with a forumla that would calculate the average of the children tasks?
Here's an overview of the task hierarchy:
- EPIC: Average of all level 1 (i.e. parent) tasks
o Parent 1: Average of all child tasks
§ Child 1: formula resulting in a percentage
§ Child 2: formula resulting in a percentage
§ Child 3: formula resulting in a percentage
o Parent 2: Average of all child tasks
§ Child 1: formula resulting in a percentage
§ Child 2: formula resulting in a percentage
§ Child 3: formula resulting in a percentage
§ Child 4: formula resulting in a percentage
§ Child 5: formula resulting in a percentage
§ Child 6: formula resulting in a percentage
§ Child 7: formula resulting in a percentage
§ Child 8: formula resulting in a percentage
§ Child 9: formula resulting in a percentage
o Parent 3: Average of all child tasks
§ Child 1: formula resulting in a percentage
§ Child 2: formula resulting in a percentage
§ Child 3: formula resulting in a percentage
o Parent 4: Average of all child tasks
§ Child 1: formula resulting in a percentage
o Parent 5: Average of all child tasks
§ Child 1: formula resulting in a percentage
§ Child 2: formula resulting in a percentage
§ Child 3: formula resulting in a percentage
§ Child 4: formula resulting in a percentage
§ Child 5: formula resulting in a percentage
o Parent 6: Average of all child tasks
§ Child 1: formula resulting in a percentage
§ Child 2: formula resulting in a percentage
§ Child 3: formula resulting in a percentage
§ Child 4: formula resulting in a percentage
§ Child 5: formula resulting in a percentage
§ Child 6: formula resulting in a percentage
o Parent 7: Average of all child tasks
§ Child 1: formula resulting in a percentage
§ Child 2: formula resulting in a percentage
§ Child 3: formula resulting in a percentage
§ Child 4: formula resulting in a percentage
§ Child 5: formula resulting in a percentage