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

Accepted Answer
0 votes

Hi Salman,

This was discussed before here http://bugs.kepler-rominfo.com/browse/KCF-12

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,

Silviu

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,084 views 5 6
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