Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Response:

If everything goes well, response status is 200 and response body is empty.

Sort Options

Alphabetically sort the child options of the input parent option. If no parent option is specified, sort the root level options.

GET <jira-base>/rest/multi-level-cascading-select/1/option/sort
Query parameters:

fieldConfigId (required)
    id of the field configuration of the custom field (warning: this is not the same thing as the custom field id. If you don't know the field config id, use the getOption REST call without any parameter and you will get the fieldConfigId for all of your MLCS custom fields)

asc (optional)
    if this parameter is given, options are sorted in reverse (ascending) order

parentOptionId (optional)
    if specified, the child options of the one identified by this parameter will be sorted. If not specified, root options will be sorted


Response:

If everything goes well, response status is 200 and response body is empty.