Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Using Automation for Jira, you can set values of a Multi-Level Cascading Select custom field. As any other third-party custom field, you’ll need to use the “More option” text area to provide the values.

image-20241209-145449.png

This is an example of a value object to pass (nested within the “fields“ object, required in Jira Automation).

{
"fields": {
"mlcs_field": "{\"lv0\": {\"label\": \"1\", \"value\": 2}, \"lv1\": {\"label\": \"1.1\", \"value\": 8}}"
}
}

Explanation:

The JSON value passed comprehends the level of options and its labels and values. the escaping \" are necessary for Jira Automation to accept the values (' and ` are not allowed).

mlcs_field: The name of your custom field. Alternatively, you can use the field ID, such as customfield_10036.

label: Text string, represents the name of the option. This is what you will see of the selection made.

value: Number, the ID of the option. The JSON is accepted by Automation as long as the value is present and above 0, therefore the exact value is not needed.

  • No labels