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




1 answer

1 accepted

0 votes
Accepted answer

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 Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

222 views 6 0
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