How to format SIL custom field?

I have two custom fields (date & time picker type)

I'm taking the difference between them and storing it in SIL custom field.

Typically it showing the result as JIRA work log format

For ex: -

A - 28/Jun/16 10:40 AM

B - 28/Jun/16 10:38 AM

number C = A-B

C = 1m 57s

What I wanted to populate is the result of routine 

floor(C , 1)

so that it can be rounded off to 1m but it is not working SIL field displaying 0d.

Basically, all I want is to get rid of seconds part and display only d,w,h,m

Please suggest solution


Thanks

Rahul

 

1 answer

1 accepted

I got the solution by myself.

some type conversions and I nailed it.

 

Great to hear that! Please note that intervals in SIL are 24h/day 7days/week.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,196 views 6 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot