Hello everyone,
I have followed the steps outlined in Atlassian's article Display Epic completion percentage on Jira Dashboard to set up a custom field and automation rule for calculating epic completion percentages in our Jira Cloud instance, but I am unable to get the automation to work correctly, and accurately update the Epic Completion values.
I've added two different "Epic Completions" to verify it wasn't due to "read-only" attributes from my original text custom field.
Any insight on resolving based on the article's instructions and not a third-party application would be greatly appreciated! :)
Hi @Bryan Urias
In my opinion, that Atlassian-written article is not super helpful at solving this scenario...particularly because it has some hidden assumptions and is quite inefficient.
Be that as it may...
If we assume it works, there may be a problem with one of the rule actions or the processing. Please review:
Or as an alternative, try this rule:
parent = {{triggerIssue.parent.key}}
{{#=}}ROUND( ( 0{{#lookupIssues}}{{#if(equals(status.statusCategory.name,"Done"))}}+1{{/}}{{/}} ) / {{lookupIssues.size|0}} * 100, 0){{/}}
That percentage would be by issue count.
If you instead wanted the percentage by story points, please use this:
{{#=}}ROUND( ( 0{{#lookupIssues}}{{#if(equals(status.statusCategory.name,"Done"))}}+{{Story points|0}}{{/}}{{/}} ) / {{lookupIssues.Story points.sum|0}} * 100, 0){{/}}
Both round to whole numbers, so please adjust as needed.
Kind regards,
Bill
Hi @Bryan Urias,
This seems complicated and requires a lot of work.
Just be aware that this can easily done with the Pivot Table & Pivot Chart gadget offered by our Great Gadgets app, without any manual work and complicated settings like the ones in that article!
You just have to configure the gadget with a JQL that returns the issues from your epics: parentEpic IN (DEMO-1, DEMO-2), display the pivot table by Status Category and Epic Link fields and calculate by percentage of rows. And the table will be displayed on your dashboard, showing the data in real-time.
Hope this helps.
Danut
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Danut,
Thanks for your reply! While the recommended third-party application does what I am looking for, I am trying to set the same thing up with Atlassian's guide + automation, but seem to encounter an error along the way. Have an awesome day!
Best regards,
Bryan
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.