we have made a automation rule for sending mail alerts to customer regarding issue resolved. we have are adding {{issue.resolution}} in summary of mail to fetch the resolution, but it gives us output in form of code for e.g) 10000 on mail. As we are expecting the output as "Done" when the issue is resolved.
try this , remove the id and add the resolution id in your instance
{{issue.[Custom Field].id}}
or
{{resolution}}
and here you can find all the available smart values
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
Hi Nikhil!
What trigger do you use to get the issue?
It might be that you need to add something else, instead of just issue.{{triggerIssues.resolution}} or {{lookupIssues.resolution}} for example 🤔
Edit: Sorry Nikhil! I didn't read your request thoroughly. I have a fix for you now.
After resolution, you need to add .name like {{issue.resolution.name}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nikhil Patil See my edit above :)
Just as you say, using {{issue.resolution}} returned the id name 10000 by default.
However, adding a .name to the end of it ({{issue.resolution.name}}), will make it return the text (in this case Done) instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.