Set MLCS values using Automation rules (Data Center)
If you want to edit an existing issue or create a new one using Automation rules in Jira, you won't find Multi-Level Cascading Select fields in the “field to set” dropdown since they're not directly supported. To set options for an MLCS field, you'll need to use the “Additional fields” section and input a custom JSON. This allows you to specify the values for each level of the cascading select field.
In the following example, three levels of a MLCS field are configured:
{
"fields": {
"customfield_10126": [
{ "id": 10118 },
{ "id": 10121 },
{ "id": 10124 }
]
}
}
The option IDs are arranged from the highest to the lowest level. In this case, 10118 corresponds to a first-level option, 10121 to a second-level option, and 10124 to a third-level option. Make sure to match the IDs according to the hierarchy of your specific options.