newAction.addPagingParams(20); newAction.addFieldsParam(Arrays.asList("name", "severity")); newAction.addSortParams(Arrays.asList("name", "updatedAt", "severity"), "updatedAt", false);
.setDescription("Choose the returned value for facet items, either count of issues or sum of remediation effort.") .setPossibleValues(FACET_MODE_COUNT, FACET_MODE_EFFORT); action.addSortParams(IssueQuery.SORTS, null, true); action.createParam(PARAM_ADDITIONAL_FIELDS) .setSince("5.2")
"Since 5.5, 'debt' mode is deprecated and replaced by 'effort'") .setPossibleValues(FACET_MODE_COUNT, FACET_MODE_EFFORT, DEPRECATED_FACET_MODE_DEBT); action.addSortParams(IssueQuery.SORTS, null, true); action.createParam(PARAM_ADDITIONAL_FIELDS) .setSince("5.2")