Hi @Angel
How often do you need to find the average, how do you want to use it, and what do you mean by "average"?
Regarding the definition of "average":
Typically for spreadsheet tools, and the automation rule average function of lists, empty values are ignored. For example:
With an automation rule, the average calculated would be (1 + 3) / 2 = 2 even though there are four stories. When you need to treat the empty values as 0, the averaged would be (1 + 3 + 0 + 0) / 4 = 1 and that would require a more sophisticated calculation, not using the built-in average function. Please let me know if you need help writing that one for an automation rule.
Kind regards,
Bill
Hi @Angel , great question here!
I made a sample automation for you. In mine, the trigger is a manual trigger from the parent issue, but it can be any trigger you want.
What I did was add a Lookup issues action that searched for all issues where the parent is equal to the issue key of the trigger issue. Then I added a comment using a smart value for the lookup issues that averages a custom field's value {{lookupIssues.Pricing Estimate.average}}. The middle part of that smart value (mine is "Pricing Estimate") you can replace with whatever the name is of your custom field.
You can use that smart value in another field, in a comment, email, etc.
Hope this helps to get you started!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.