You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't log the time because some additional fields are required, but can't find the way to add them to the command, hence I'm getting an error:
Failure. Reason: Request failed with status code 400. Errors: Remaining estimate must not be empty, Work attribute 'Activity type' (_Developmentactivities_) is required
Is there a chance that parameters mentioned above would be supported? Also it would be great to calculate remaining estimate automatically when logging time.
The text was updated successfully, but these errors were encountered:
as long as tempomat is connected only to the Tempo API and isn't connected to the Jira API we cannot calculate remaining estimate parameter, because current estimate value it is not available anywhere in the Tempo API (See https://tempo-io.github.io/tempo-api-docs/)
I can add a new option to log command to support this parameter. For example --remaining-estimate (with -r alias). But I am not sure what should we do if this option is not present. We can just do "nothing" (this is the easiest way). Also we could set it by default to 0h (but I don't know if that's a good idea, because it would override recalculated value for some configurations) or we could detect Remaining estimate must not be empty error and send request again with 0h value, but then logging would take longer. What do you think about this?
As regards custom work attributes, this seems to be more challenging. I personally don't use any custom attributes, so I have to check it out and I let you know what can I do with this.
Thanks @szymonkozak,
the --remaining-estimate / -r looks fine. Maybe we could have some config for that instead of trying to detect errors, e.g. user would be able to edit config file if needed to add remaining estimate parameter.
Maybe config file could be also used to add custom attributes list.
BTW config file may be useful to provide default values for custom attributes, but not sure if it would be useful :)
Can't log the time because some additional fields are required, but can't find the way to add them to the command, hence I'm getting an error:
Is there a chance that parameters mentioned above would be supported? Also it would be great to calculate remaining estimate automatically when logging time.
The text was updated successfully, but these errors were encountered: