The Issue API
States that
However in development, I am finding that it is actually providing the "remaining estimate" in seconds?
Have I done something stupid, or are the docs wrong?
Thanks,
Jonny
I've researched this further and am now convinced that Issue:getEstimate() returns seconds, as do other time based methods such as Worklog:getTimeSpent()
It is possible this is an option that can be changed, but regardless the API is not accurate.
My concern now is that after writing the plugin to deal with seconds, Atlassian will change the method inline with the API docs and break my plugin.
Regards,
Jonny
i think getEstimate() will return milliseconds only,
on which jira version you are testing on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suspect the docs are in fact correct, but I can't work out what I'm doing differently.
<jira.version>6.1-20130626</jira.version>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.