I have a custom field called "p-card: missing receipts". It's a long text field and its ID is 29301.
I want automation to send an email. If there is a value in that custom field, I want "hello" displayed in the email, otherwise nothing.
I have tried the following but they either display nothing when there is a value in the custom field, or they throw an error:
{{if(not(customfield_29301.isEmpty)),"hello")}}
{{if(p-card: missing receipts,"hello")}}
{{if(customfield_29301)}}hello{{/}}
I used the following documentation: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/