@Override
  public Task[] getIssues(@Nullable String query,
                          int offset,
                          int limit,
                          boolean withClosed) throws Exception {
    List<YouTrackIssue> result = fetchIssues(query, offset, limit);
    return ContainerUtil.map2Array(result, YouTrackTask.class, issue -> new YouTrackTask(this, issue));
  }
@Override
  public Task[] getIssues(@Nullable String query,
                          int offset,
                          int limit,
                          boolean withClosed)