2

I'm using these methods to get the details about a case estimate from the API.

double thisBug.hrsOrigEst
double thisBug.hrsCurrEst
double thisBug.hrsElapsed

Is there a way to use the API to get these in the representation that FB uses without looking up the site schedule and directly doing the calculation.

For example:

"2.5 days" or "22 minutes"

I know the math isn't that hard to do myself, but I'd like to "future proof" this a bit by using a standard FB API call in case the logic for calculating days changes based on changes to the way the site schedule works.

Feature Request:
Add a property to these objects to quickly format them in the FB standard way.

string thisBug.hrsOrigEst.forDisplay

Fog Creek Case FC2052647

flag

1 Answer

2

There's no way to do this right now, but I've opened a feature request.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.