Hi all,
I am in the process of trying to create a scripted field that I can use to make calculations based on the status of all child issues in an epic.
So essentially it needs to grab each child issue in an epic and fetch the status of each.
For example, we want calculations to assign 0% to "Open", 20% to "In Assessment", 50% to "In Progress", 80% to "In Review", and 100% to "Closed" or "Resolved". The final calculation is just taking the average of all of these for the children and making that the final return to the field in the epic.
Any help is welcome as I am not the strongest with the groovy language but am trying to learn!
Running Scriptrunner and Automation on our Data Center instance
I am in the process of trying to create a scripted field that I can use to make calculations based on the status of all child issues in an epic.
So essentially it needs to grab each child issue in an epic and fetch the status of each.
For example, we want calculations to assign 0% to "Open", 20% to "In Assessment", 50% to "In Progress", 80% to "In Review", and 100% to "Closed" or "Resolved". The final calculation is just taking the average of all of these for the children and making that the final return to the field in the epic.
Any help is welcome as I am not the strongest with the groovy language but am trying to learn!
Running Scriptrunner and Automation on our Data Center instance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.