How to copy value from one multilevel field and add it to a summary

For all possibilites and Jira smart values visit the following link:

https://confluence.atlassian.com/automation/jira-smart-values-lists-993924868.html

These also work on Cloud

In order to copy a value from the multilevel field you will need to go through a couple of steps.

Start by using the following link to get a list of all of the custom fields on an issue and their values.

<your-instance-URL>/rest/api/3/issue/<issuekey>

You can download a Chrome extension called JSON formatter which will make the overview of this much much nicer.

After you’ve done that locate the multilevel field and its' options like so:

For an example, if you were to use the “Melee ADC” option as a summary for an issue you would use the following line of code in the automation rule:

{{issue.fields.customfield_<fieldID>.choice.get(<number of option>).label}}

This will then take the 4th option from the field value and add it as a summary(in this example case).

To copy the current value from the field and add it to summary or another field thies query can be used:

{{issue.fields.customfield_ID.choice.label}}

ID → custom field ID