Forums

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

On Scriptrunner for Jira Cloud, how to store Story Points Summed value in Epic issue on Issue events

Ricardo Cardoso D' Oliveira
Contributor
July 17, 2019

Hello community!

 

Using the Scriptrunner for Jira Cloud, how to store Story Points (from Story only) summed value in Epic issue on Issue events?

 

Thanks!

 

Ricardo D'Oliveira

1 answer

1 accepted

1 vote
Answer accepted
Kristian Walker _Adaptavist_
Community Champion
July 17, 2019

Hi Ricardo,

Thank you for your question.

I can confirm that we have some example Script Listener in the cloud documentation located here shows how to sum up all the story points for subtask issues and store these on the parent issues. 

You will be able to take this example and to refer to in order to see an example of how, to sum up, all of the story points for subtasks and to store the total on the parent issue. 

You will be able to take this example script and to modify it in order to achieve your requirement of summing up the story points for Story issues associated  to an Epic issue. 

If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.

Regards,

Kristian

Ricardo Cardoso D' Oliveira
Contributor
July 17, 2019

Hi Kristian,

Thanks for your answer. I'm tried to change the example that you linked, but didn't works.

I'd like to see what I have to change on that script to achieve my goal.

 

Ricardo D'Oliveira

Kristian Walker _Adaptavist_
Community Champion
July 17, 2019

Hi Ricardo,

I have created a sample script located here which modifies the example from the documentation to sum up the value of story issues below an epic and to store them on the epic issue, each time the epic issue is updated.

You will be able to take this script and to use it as a reference guide to create the script that you require to solve your requirements.

Regards,

Kristian

Ricardo Cardoso D' Oliveira
Contributor
July 17, 2019

Kristian,

 

Thanks a lot! Works very well! And now, I know how to works with Epics on Scriptrunner for Jira Cloud.

 

Thanks!

 

Ricardo D'Oliveira

Suggest an answer

Log in or Sign up to answer