Forums

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

Dynamic Priority - Creating a Custom Column to Populate a "score".

Travis Farrenkopf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2018

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

1 answer

0 votes
Krishnanand Nayak
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 Leaders.
August 28, 2018

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.

Suggest an answer

Log in or Sign up to answer