I need to create a label on the fly (e.g., during issue creation) in Jira Service Management.
I have the automation on issue creation setup and for labels I need to make it a combination of Text and 2 custom fields
Something like:
{
"update": {
"labels": [
{
"add": "Thank you and your details are " {{issue.fields.CustomField_13204.value}} "-" {{issue.fields.CustomField_13201.value}}
}
]
}
}
So I would like the label added to be "Thank you and your details are - Gemini - June".
The error I get in automation is: Error while parsing additional fields. Not valid JSON
Note: every example I have seen on this is either setting a label with just text, or setting a custom field's value, but never setting labels from text and custom field values.