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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.