It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 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
Published in Marketplace Apps & Integrations

Marketplace Spotlight: Manage your assets with asset management apps

  The role of IT professionals has become increasingly difficult over the last decade. Our organizations work in an increasingly software-powered world and IT professionals are expected to not...

290 views 3 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you