Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation: Smart value name and description are not resolved

Clemens Kleibusch January 4, 2024

Hi community,

I try out the possibilities of using smart values in automations (in e-mails)
I tried different types of CF, understood values from cascaded fields. 
But I cannot imagine how to access name and description of a CF.

I set up a CF "ProductCustName" (customfield_13001) and had the following smart values in an e-mail action:

{{issue.customfield_13001.name}} (field name)
{{customfield_13001.name}} (field name)
{{issue.customfield_13001.description}} (field description)
{{customfield_13001.description}} (field description)

{{issue.ProductCustName.name}} (field name)
{{ProductCustName.name}} (field name)
{{issue.ProductCustName.description}} (field description)
{{ProductCustName.description}} (field description)

I never got a result, no matter which kind of CF I tried!

Any ideas?

Thanks, Clemens

1 answer

0 votes
Florian Bonniec
Community Champion
January 4, 2024

Hi @Clemens Kleibusch 

 

I do not think you can as it's not part of the payload returned for an issue.

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

 

Reagrds

Clemens Kleibusch January 5, 2024

Hi @Florian Bonniec 

thanks for you quick response. 
I found the suggestion to do so in the documentation:
https://confluence.atlassian.com/automation/jira-smart-values-issues-993924860.html

...
{{issue.CustomField.property}} - some of these are:
* {{issue.CustomField.id}} - the unique id for the field assigned by Jira. It is better to use this than name as it cannot be changed.
* {{issue.CustomField.name}} - the visible label displayed on the left of the field
* {{issue.CustomField.description}} - the text displayed below the custom field viewed in the Simple Search column.
* {{issue.CustomField.defaultValue}} - the value displayed on first view of the field
...

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.11.3
TAGS
AUG Leaders

Atlassian Community Events