How to display Hours for Assignee instead of Days of Assignee using JS Custom Field

Hi @Abel_Oliveira,

The actual JavaScript code returns the figure in hours. The best practice is to rename the field to reflect its contents.
​However, you might check if you might have the old code returning days still present somewhere below in the advanced settings.
​Please check if the results are fine when you rename
customfield_days_for_assignee
into
customfield_hours_for_assignee
in the field declaration and the last line of code.
​You might as well change the field display name “Days for Assignee” into “Hours for Assignee”.

Regards,
​Oskars / support@eazyBI.com

1 Like