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.
...
This is an example of a value JSON object to pass (nested within the “fields“ object, required in Jira Automation).
...
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.
Expand |
---|
title | How to retrieve the value (option ID). |
---|
|
Info |
---|
There is a discrepancy in the names used to pass data to Automation and the names used by Jira to manage the MLCS options. |
Automation for Jira | Graphql request |
---|
Value | Id | Label | Value |
Go to the MLCS Cloud app. Anywhere on the page, right-click and select “inspect“. This will open the browser inspector. Go to the Network tab and refresh the page (this is to make sure that the calls will be shown in the Network tab). Filter the results by “graphql“ as shown in picture: Image AddedYou’ll find a few “graphql“ requests. The one you’re looking for contains a list of all the available options, nested in “Data → invokeExtension → response”. This is what the response looks like: Image Added
|