Forums

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

Script to calculate sum of completed story points.

Alok Kumar
April 25, 2023

Hi,

Can someone help me with the script which can calculate completed story points. Which means sum of story points of linked stories which are in closed status linked within an epic issue type. There is an example available to calculate total story points already. But how to calculate completed story points ?

 

1 answer

Suggest an answer

Log in or Sign up to answer
4 votes
Stephen Cheesley [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 2, 2017

Hi,

I believe that you should be able to find the links you are searching for by using the Remote Issue Link Manager utility. This will allow you to interrogate remote links specifically.

getRemoteIssueLinksForIssue(Issue issue) //<- This method will allow you to return remote issue links for a given issue in your local instance.

Note: You can also use this same utility to create links.

Someone else had a similar issue here and resolve the issue using the same method.

I hope this helps!

Steve

GRT ENEDIS
October 2, 2017

Thanks for your answer Stephen,

Best regards.

Stephen Cheesley [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 5, 2017

No Problems!

Did this answer resolve your issue? Are you still having issues with this??

Daniel Yelamos [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 5, 2017

What my friend Stephen really wants is for you to accept his answer so that other users can see that this has been answered :)

Cheers!

Like Erik Macias likes this
Sam
Contributor
January 10, 2020

Hi Daniel,

I tried using this method to connect two different Jira instances and it hasn't worked at all for me. I'm in 8.4.1, so it looks like this has been deprecated. Do you know if there's a way to do this in 8.4.1?

TAGS
AUG Leaders

Atlassian Community Events