Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,356
Community Members
 
Community Events
176
Community Groups

How sum up story point estimate in Epic from stories and others tasks?

Edited

I read almost all artictles about it.

 Nothing helpedjira.png

3 answers

1 accepted

0 votes
Answer accepted

Hi @Temur Khalilov 

You are using a team-managed project so I assume you are using Jira Cloud.

When do you want to sum up these story and task values into the Epic?  I assume it is when the value changes.

One challenge with this rule is that Story Point Estimate can only be edited in the rule using JSON.  So your rule would be something like this:

{
"fields": {
"Story point estimate": {{lookupIssues.Story point estimate.sum|0}}
}
}

 

Kind regards,
Bill

Thank you very much, I did it, you are a very cool specialist. Thanks to the whole team.

 

Screenshot_1.png

 

There is a problem with the JQL query, if I have 2 stories in the epic, when story points in one change, then the values ​​of the last trigger are recorded in the epic

 

Screenshot_2.png

How to find all related issues in Epic? 

Like Bill Sheboy likes this

It doesnt work i dont know why

image.png

What is not working as you expect?

For example...if there is an error in the audit log please provide that message.  If instead the rule does not work as you expect, please describe the symptoms you observe versus what you expect.

@Bill Sheboy  Hi!

I used this 

It almost worked. At least I've got "0" instead of nothing ;) Here are logs

Screenshot_7.pngI guess the problem is this - project = yourProjectName AND parent = {{triggerIssue.key}}

Do you have any ideas on how to improve it?

Hi @Marina Shelestiuk -- Welcome to the Atlassian Community!

My original post had a typo in the JQL, and should have been checking if parent = {{triggerIssue.parent.key}}  when the trigger issue is a story (or task or bug).

Please try that to see how it helps.  Thanks!

Kind regards,
Bill

@Bill Sheboy It worked, thank you! Let's say its an automation rule# 1.

I also have automation rule# 2: When SP are added to subtask -> then display the sum in a parent story. Here it is 

SP of story.png

 

 

The problem is that automation rule# 1 works fine if only I add SP to stories manually. 

Otherwise, in case automation rule# 2 runs and shows SP of the story as a sum of SP of subtasks, automation rule# 1 ignores the value of the story SP. In logs, it shows as "No actions performed".

Is there any chance I can combine these two rules and make one, so SP could be calculated for a parent issue (epic and story)?

Or maybe there is a way to make automation rule# 1 make action when automation rule #2 runs?

Hi @Marina Shelestiuk 

I believe it is possible to create a rule to handle changes for either the subtasks or stories/tasks/bugs...and that approach is probably better than using two rules.

One way to do this is using if/else condition blocks, and then branch to the appropriate issues, as needed.

I recommend creating a test project and rule to experiment with this.  And then your Jira Admin can copy the rule to the appropriate project when you have it all working.

Hi @Temur Khalilov

 

Not sure where abouts you got up to with the automation but we required something very similar and made this rule for rolling up worked time and time estimations. I am sure it could also be repurposed for story points.

Capture.PNGCapture1.PNGCapture2.PNG

 

This rule in regards to time is looking to see if any time is logged on the parent ticket (epic in your case). If there is, the it will go down the first branch where it will add the current time logged on the epic and then time logged on its chidren (tasks, stories etc.) If you use subtasks you will need to do this for this level as well.

 

In regards to summing up story points. This again you can do in a rule much the same. Using the sum smart values, you'll be able to add all story points together into a single field.

 

 

Hope this helps,

Dan

Привет, если вы позволите буду писать на русском, я не могу суммировать story point estimate из историй в эпике.

Я попробовал различные способы, но не получилось, я использую проект управляемый командой.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events