Versions Compared

Key

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

...

The options are described by a json JSON structure, containing the fields

...

children - array of option objects, the child-options of the option

Example:

Code Block
languagejson
{
    "optionId": 10504,
    "value": "Europe",
    "sequence": 0,
    "disabled": false,
    "fieldConfigId": 10108,
    "children": [
        {
            "optionId": 10505,
            "value": "Italy",
            "sequence": 0,
            "disabled": false,
            "fieldConfigId": 10108
        },
        {
            "optionId": 10506,
            "value": "France",
            "sequence": 1,
            "disabled": false,
            "fieldConfigId": 10108
        }
    ]
}

...

sequence - number, the place that the option occupies among its silblings

Example:

Code Block
languagejson
{
    "optionId": 10505,
    "value": "Italy",
    "sequence": 1
}

...

DELETE <jira-base>/rest/multi-level-cascading-select/1/option/{optionId}

...

where:

optionId
    id of the option to remove 

...

PUT <jira-base>/rest/multi-level-cascading-select/1/option/{optionId}

...

where:

optionId
    id of the option to rename 

...

sequence - number, the place that the option occupies among its silblings

Example:

Code Block
languagejson
{
    "optionId": 10505,
    "value": "Italy",
    "sequence": 1
}

...

sequence - number, the place that the option occupies among its silblings

Example:

Code Block
languagejson
{
    "optionId": 10505,
    "value": "Italy",
    "sequence": 1
}

...

PUT <jira-base>/rest/multi-level-cascading-select/1/option/{optionId}/enable

...

where:

optionId
    id of the option to enable 

...

sequence - number, the place that the option occupies among its silblings

Example:

Code Block
languagejson
{
    "optionId": 10505,
    "value": "Italy",
    "sequence": 1
}

...

PUT <jira-base>/rest/multi-level-cascading-select/1/option/{optionId}/position

...

where:

optionId
    id of the option to enable 

...