@NotNull
  @Override
  protected String getRequestForStateTransition(@NotNull CustomTaskState state) {
    assert StringUtil.isNotEmpty(state.getId());
    final String stateId = state.getId();
    final int index = stateId.indexOf(':');
    if (index >= 0) {
      return "{" +
             "  \"transition\": {\"id\": \"" + stateId.substring(0, index) + "\"}, " +
             "  \"fields\": {\"resolution\": {\"name\": \"" + stateId.substring(index + 1) + "\"}}" +
             "}";
    }
    else {
      return "{\"transition\": {\"id\": \"" + stateId + "\"}}";
    }
  }
@NotNull
  @Override
  protected String getRequestForStateTransition(@NotNull CustomTaskState state)