"If this parameter is set, componentUuids must not be set.")
.setExampleValue("org.apache.struts:struts:org.apache.struts.Action");
action.createParam(IssueFilterParameters.COMPONENTS)
- .setDescription("Deprecated since 5.1. If used, will have the same meaning as componentKeys AND onComponentOnly=true.");
+ .setDeprecatedSince("5.1")
+ .setDescription("If used, will have the same meaning as componentKeys AND onComponentOnly=true.");
action.createParam(IssueFilterParameters.COMPONENT_UUIDS)
.setDescription("To retrieve issues associated to a specific list of components their sub-components (comma-separated list of component UUIDs). " +
INTERNAL_PARAMETER_DISCLAIMER +
.setExampleValue("584a89f2-8037-4f7b-b82c-8b45d2d63fb2");
action.createParam(IssueFilterParameters.COMPONENT_ROOTS)
- .setDescription("Deprecated since 5.1. If used, will have the same meaning as componentKeys AND onComponentOnly=false.");
+ .setDeprecatedSince("5.1")
+ .setDescription("If used, will have the same meaning as componentKeys AND onComponentOnly=false.");
action.createParam(IssueFilterParameters.COMPONENT_ROOT_UUIDS)
- .setDescription("Deprecated since 5.1. If used, will have the same meaning as componentUuids AND onComponentOnly=false.");
+ .setDeprecatedSince("5.1")
+ .setDescription("If used, will have the same meaning as componentUuids AND onComponentOnly=false.");
action.createParam(IssueFilterParameters.PROJECTS)
- .setDescription("Deprecated since 5.1. See projectKeys");
+ .setDeprecatedSince("5.1")
+ .setDescription("See projectKeys");
action.createParam(IssueFilterParameters.PROJECT_KEYS)
.setDescription("To retrieve issues associated to a specific list of projects (comma-separated list of project keys). " +
INTERNAL_PARAMETER_DISCLAIMER +
{{#if deprecatedSince}}
<span class="spacer-right">
<span class="badge badge-danger" data-toggle="tooltip"
- title="{{t 'api_documentation.deprecation_tooltip'}}">deprecated since {{deprecatedSince}}</span>
+ title="{{t 'api_documentation.deprecation_tooltip'}}">Deprecated since {{deprecatedSince}}</span>
</span>
{{/if}}
{{#if since}}
{{#if since}}
<div class="note">since {{since}}</div>
{{/if}}
+ {{#if deprecatedSince}}
+ <span class="badge badge-danger little-spacer-top" data-toggle="tooltip"
+ title="{{t 'api_documentation.deprecation_tooltip'}}">Deprecated since {{deprecatedSince}}</span>
+ {{/if}}
</td>
<td>
<div class="markdown">{{{description}}}</div>