Forums

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

Jira Structures - custom field (number) can not be formatted to duration

Daniel Schilling
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!
May 5, 2025

On a newly created structure, I need to add a time range.
I created a dedicated new custom field (number type).

No I am not able to format it to duration (not with a formula nor with the built in settings)

1 answer

1 accepted

3 votes
Answer accepted
Bert Dombrecht
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.
May 5, 2025

Hello @Daniel Schilling ,

You should be able to set the output format of your formula to Duration:

Duration.png

You can also experiment with the Duration style setting.
"Basic" will count 24h as 1d, "Work Time" will count 8h as 1d, ...

If you are 'feeding' the formula a number (coming from your custom field), you need to translate it into milliseconds in your formula (1 hour = 3600000 milliseconds).

I hope this helps.

Daniel Schilling
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!
May 5, 2025

I read everywhere it should be in seconds not milliseconds.
Thanks a lot!

Like Bert Dombrecht likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events