@Override
  public void updateTimeSpent(@NotNull LocalTask task,
                              @NotNull String timeSpent,
                              @NotNull String comment) throws Exception {
    YouTrackPluginAdvertiserService.getInstance().showTimeTrackingNotification();
    
    Matcher matcher = TIME_SPENT_PATTERN.matcher(timeSpent);
    if (matcher.find()) {
      int hours = Integer.parseInt(matcher.group(1));
      int minutes = Integer.parseInt(matcher.group(2));
      int totalMinutes = hours * 60 + minutes;

      HttpPost request = new HttpPost(getRestApiUrl("api", "issues", task.getId(), "timeTracking", "workItems"));
      request.setEntity(new StringEntity(GSON.toJson(new YouTrackWorkItem(comment, totalMinutes)),
                                         ContentType.APPLICATION_JSON));
      getHttpClient().execute(request,
                              JsonResponseHandlerBuilder.fromGson(GSON)
                                .errorHandler(this::parseYouTrackError)
                                .toNothing());
    }
    else {
      LOG.warn("Unrecognized time pattern: " + timeSpent);
    }
  }
@Override
  public void updateTimeSpent(@NotNull LocalTask task,
                              @NotNull String timeSpent,
                              @NotNull String comment)