private void updateIssue(@NotNull String id) {
    for (TaskRepository repository : getAllRepositories()) {
      if (repository.extractId(id) == null) {
        continue;
      }
      try {
        LOG.info("Searching for task '" + id + "' in " + repository);
        Task issue = repository.findTask(id);
        if (issue != null) {
          LocalTask localTask = findTask(id);
          if (localTask != null) {
            localTask.updateFromIssue(issue);
            return;
          }
          return;
        }
      }
      catch (Exception e) {
        LOG.info(e);
      }
    }
  }
private void updateIssue(@NotNull String id)