I am looking for a way to calculate a score based on a bunch of Criteria in the system.
Example:
.7 Points per day since open
2 Points per day since the last Stage Change
3 Points per day since the last Comment
1 point per day until the Due Date
A Story that was opened on 8/1/18, if today is 8/27 Due Date 8/31/18
.7 Points per day since open
18.9 points
2 Points per day since the last Stage Change (Changed Status 7 Days Ago)
14 Points
3 Points per day since the last Comment (Comment Yesterday)
6 Points (Or 3)
-1 point per day until the Due Date
-4 Points
Total score to appear in the Column is: 73.8
Thoughts on how to do this and some Sample Code would be GREAT!!
Adam
You should create a calculated field either by using Scriptrunner, Cprime SIL or Jira Workflow Toolkit to achieve it. Some scripting will be needed to achieve this.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.