Representing Estimate and Work log values as Working Interval in SIL

I am using SIL Custom field in my Epics to sum up Remaining Estimates (estimate in SIL), Original Estimates (originalEstimate) and Time Spent (timeSpent) as I undesrant these are currently represented as 24 Hour interval. Where as values we seen in Jira a working hour Interval i.e. 8 hours a day and 5 days a week kind of thing.

Are there any API's that could convert these 24 hours inteval to working hours interval. In short something which is exaclt opposite of toRawWorkingInterval

Further. Since I was not able to find any reference of such API in the documentation, I have cooked something of My own. But it is unable to take into consideration the settings which could be changed in Jira to represent a working day shorter or public holidays and etc.

Since, SIL is more close to jira at the server, Can it not take those details into consideration provide an API to covert 24 Hours interval to a Working hour interval.

1 answer

1 accepted

0 votes
Answer accepted

Hi Salman,

This was discussed before here

In short, SIL and JIRA are using seconds to represent time so you will have to get the number of seconds from an interval variable( someIntervalValue["TOMILLIS"] will give you the milliseconds ) and transform it to a human readable format.

Best regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


119 views 0 3
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