We happen to have the Story Points field available on our Epics.
Can we automate the following scenario:
Add points to a Story and the parent Epic points increment accordingly to reflect the TOTAL sum for all Story ticket children?
---------
Actually it should be as easy as a trigger for when the Story points change, save as a variable, then write that variable to the Epic
Am I on the right track?
Hi Bud,
You should be able to find lots of examples of this in the Community. Here is one:
Hi @Bud Herz
Yes, and...to John's suggestions: your license level and desired level of accuracy determine how to implement updates like this.
For example, let's assume you have unlimited rule usage and want the data as accurate as possible, as quickly as possible. There are a bunch of scenarios to consider for accurate updates:
Some of these cases may be merged while others require separate rules with different triggers.
However, when usage is limited or only periodic updates are needed, please see this article from John on using a scheduled trigger rule for updates, such as daily:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I may be so bold to offer a catch phrase: With Bill Sheboy, you get the whole shabang
Those are great things to consider Bill. Much appreciated.
I'll have to take a better look at all of our work to see which is the most impact first.
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy (or anyone else)
The following are the only obstacles that remain for my quest: Any help would be greatly appreciated.
Overall it's the moving from Epic to Epic that will not subtract the Story Points.
I have success adjusting them all day long if they remain under their parent Epic.
If moving them, the new Epic adds the new points, but the previous Epic does not subtract the points.
Here's a screenshot of my automation:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, @Bud Herz
The keys for updating of the previous Epic's values for most of those cases are:
With that, you may access the previous Epic's key to make the changes needed.
For the deleted case, that is special: the {{issue.parent}} should still contain the value while the rule is executing, allowing the value to be stored in a variable and then used with the Lookup Issues action and the branch on JQL. Directly branching to parent may not work due to some special handling in rules for deleted issues.
For the "tampering" case, essentially you clone your current rule and change the logic to add a condition that the trigger issue is an Epic, alter the Lookup Issues JQL accordingly, and remove the branching.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Bud Herz
You may follow the rule template shared here: https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/9919294
Thanks!
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.