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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

157 views 1 3
Join discussion

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