Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation - smart values - sync story points

christophe demez
Contributor
October 11, 2022

Hi,

I'm trying to create an automation rule that for each Epic, it sums all the story-points of the child stories.

I have follow this tutorial (second one):
https://community.atlassian.com/t5/Automation-articles/Jira-Automation-Sum-Up-Story-Points-Roundup-Initiatives-gt-Epics/ba-p/1928027

And then I have this:

image.png

 

But the story points remain empty. Do you have any idea ?

thx

1 answer

1 vote
Mark Segall
Community Champion
October 11, 2022

Hi @christophe demez 

You're close, but you need a Lookup Issues action.  Additionally, you should tweak the query to reduce overhead.  I recommend this:

  • TRIGGER: Scheduled (Daily)
    • Project = "Service Portfolio" AND issueType = Epic and statusCategory != Done
  • ACTION: Lookup Issues
    • "Epic Link" = {{issue}}
  • ACTION: Edit Issue (Story Points)
    • {{lookupIssues.Story Points.sum}}
christophe demez
Contributor
October 11, 2022

Thanks @Mark Segall , you're right. I just noticed that I'm not on the cloud for this instance. So, there is no "lookup issue"... so not sure I can solve this problem.  Any idea ?

 

I have try the following... but no way:

image.png

Mark Segall
Community Champion
October 11, 2022

Ahh server is definitely more complicated.  I found this poking around the internet:

https://medium.com/javarevisited/jira-automation-sum-story-points-in-epic-9626b8c1c23c

Like christophe demez likes this
christophe demez
Contributor
October 12, 2022

Indeed, it is more complex, but I cannot set anything on the stories, because they are from other projects. I do not have the permissions :-P Not sure there is a solution :-(

Mark Segall
Community Champion
October 12, 2022

Yeah you'd need a Jira Admin to elevate the rule to a global rule.

Like christophe demez likes this
christophe demez
Contributor
October 12, 2022

I have try with smart values, I use this: {{issue.issueLinks.outwardIssue.Story Points.sum}}

Then, it sum the list of linked stories, but I need the list of Epic's stories.

image.png

Mark Segall
Community Champion
October 12, 2022

Yes - This is the core issue.  Without the Lookup Issues function, the only way to dynamically evaluate against epics would be what I shared earlier.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events