Automation | Automation rule is not returning "Description" value in audit log and send email via smart value.
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
The issue description field is not being copied and returned via email and audit log when the below smart value is being used :
{{issue.description}}
Diagnosis
As per the document:https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/ the smart value to fetch the value of the description of the issue is:
{{
issue.description
}}
Validate the field "Description" and its value on the issue (captured in the audit log)via API call:https://YOURINSTANCE.atlassian.net/rest/api/3/issue/EX-101?expand=names
In the audit log value is empty as shared in the below snippet:
Email content also has the same behaviour.
Cause
Description is a system field, the above smart value is used to fetch the value of the system field "Description"
The above behaviour has been observed when there is a custom field available with the same name on the instance.
Solution
The recommendations to mitigate this problem are:
Either you can remove or rename the custom field and then try to update the Description field(system field) on the issue then it should be returned in the email.
Or you can use the smart value below with the value, sharing the document for more insights:
{{issue.[Custom Field]}}
Was this helpful?