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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

174 views 1 10
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