Forums

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

Change to "Story points" for an issue not reflected in backlog

Deric
June 16, 2020

If we click on an issue in the backlog and fill in the story points, the story points field in the backlog is not updated. We can click on another issue and then go back to the original issue and we see the story points we entered in the issue details. But the column in the backlog is never updated. Is there a way to get the backlog to update other than refreshing the entire page (F5)? Or is this a defect?

1 answer

0 votes
JohnsonHoward
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 Champions.
May 23, 2018

Hi Christopher,

This is a tricky one, however I think it could be done by doing something like this:

import java.util.concurrent.TimeUnit


def date1 = new Date()
def date2 = new Date() - 2
def time = date1.getTime() - date2.getTime()
def form = String.format("%d hours, %d min, %d sec",
TimeUnit.MILLISECONDS.toHours(time),
TimeUnit.MILLISECONDS.toMinutes(time),
TimeUnit.MILLISECONDS.toSeconds(time)
);
return form

No entirely sure how you would go about excluding weekends. By that do you mean lets say you 04/01/2018: 00:00:02 which is a Monday and a 01/01/2018: 00:00:01 which is a Friday you exclude the weekend so the time between them is 0 days, 0 hours, 1 min instead of 2 days, 0 hours, 1 min? 

In that case you'd have to find out how many weekend days occurred between the 2 dates, then times 86,400,000 (Milliseconds in a day) by the amount of days and minus that off your total 'time' variable. something like that anyway, might not be completely correct.

Btw the scripted field needs to be a text field.

Thanks

Johnson Howard (Adaptavist)

Suggest an answer

Log in or Sign up to answer