Use case
Obtain a value formatted as a JSON from an Elements Connect custom field and add it to an email.
⚒️ Configuration
Add the Send email post function to the desired workflow transition or create a new transition.
Define the basic configuration with the required and information you need to fill in for your email.
Email content
Subject
Enter a plain text and optionally use Field codes for the subject of your email.
Email format
Choose Text
Body
Enter the following expression.
Bash
{{{"Value: " + getFromJSON(%{issue.cfAAAAA}, "keys")}}}
You can replace "keys" in the JMESPath with any word that precedes the value in the JSON, as for example, "name" or "displayName".
Replace the field code %{issue.cfAAAAA} with the field code of your custom field and change the title of the table in the previous expression.