kraiz / hamster-bridge

let your hamster log your work to your favorite bugtracker
Other
14 stars 8 forks source link

Unticking "in progress" in Hamster overview and the subsequent saving of the activity does not log time #28

Open johnnybaloney opened 7 years ago

johnnybaloney commented 7 years ago

First of all let me use this opportunity to thank you for this excellent tool, what a time saver!

Below is a description of my use case.

Activity A shows that it has been going on for, say, 60 minutes. Then I realize that I actually have been working on Activity B for the last 20 minutes, just forgot to switch.

I then open Activity A in Hamster overview, untick the "in progress" checkbox and adjust the end time of the Activity A in order to reduce it to 40 minutes.

Then I click on Save button and... nothing happens, the time is not logged in Jira and the Hamster Bridge log (--debug) shows nothing either.

kraiz commented 7 years ago

Hey Johnny, thanks for reporting this. It seems this is another use case we're not able to cover, see #14 for another. The only currently implemented detection is when you stop a task (since the last check and checked via polling every second). This served me okay-ish and was easy to implement. I'm looking forward for the project hamster refactoring to provide better interfaces which we're maybe able to cover those use cases on.