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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

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