.setDefaultValue("false");
action.createParam(PARAM_COMPONENT_KEYS)
- .setDescription("To retrieve issues associated to a specific list of components sub-components (comma-separated list of component keys). " +
- "A component can be a view, project, module, directory or file.")
+ .setDescription("Comma-separated list of component keys. Retrieve issues associated to a specific list of components (and all its descendants). " +
+ "A component can be a portfolio, project, module, directory or file.")
.setExampleValue(KEY_PROJECT_EXAMPLE_001);
action.createParam(PARAM_COMPONENTS)
action.createParam(PARAM_PROJECT_UUIDS)
.setDescription("To retrieve issues associated to a specific list of projects (comma-separated list of project IDs). " +
INTERNAL_PARAMETER_DISCLAIMER +
- "Views are not supported. If this parameter is set, projectKeys must not be set.")
+ "Portfolios are not supported. If this parameter is set, '%s' must not be set.", PARAM_PROJECTS)
.setInternal(true)
.setExampleValue("7d8749e8-3070-4903-9188-bdd82933bb92");
action.createParam(PARAM_MODULE_UUIDS)
.setDescription("To retrieve issues associated to a specific list of modules (comma-separated list of module IDs). " +
- INTERNAL_PARAMETER_DISCLAIMER +
- "Views are not supported. If this parameter is set, moduleKeys must not be set.")
+ INTERNAL_PARAMETER_DISCLAIMER)
.setInternal(true)
.setExampleValue("7d8749e8-3070-4903-9188-bdd82933bb92");
assertThat(branch.isInternal()).isTrue();
assertThat(branch.isRequired()).isFalse();
assertThat(branch.since()).isEqualTo("6.6");
+
+ WebService.Param projectUuids = def.param("projectUuids");
+ assertThat(projectUuids.description()).isEqualTo("To retrieve issues associated to a specific list of projects (comma-separated list of project IDs). " +
+ "This parameter is mostly used by the Issues page, please prefer usage of the componentKeys parameter. " +
+ "Portfolios are not supported. If this parameter is set, 'projects' must not be set.");
}
@Test