Hi,
I'm using Jira automation to insert a message to the customer after an issue is considered done.
The syntax is:
This issue is now in DONE status and the content of the Resolution field has been set to {{issue.resolution}}.
The problem is that it's shown as:
This issue is now in DONE status and the content of the Resolution field has been set to 10022.
Where 10022 is the internal code Jira assign to the specific resolution value chosen.
Does anybody know what could be happening?
Thanks in advance,
M
Hi @Soporte Atl
Many smart values retrieve the field's ID by default, so you will need to use a smart value of {{issue.resolution.name}} to get name of the resolution.
Hope this helps!
Hi, @Callum Carlile _Automation Consultants_.
I couldn't have thought of a better result. That worked perfectly well.
Thanks so much for your quick response and interest.
Best regards,
M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries, glad you've got it working!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Soporte Atl ,
An Automation rule often retrieves the "object" of such a customfield on which you can use properties to get more detail.
For example the {{issue.resolution} will default to the ID but you can get the name by just adding .name
Here you can see the difference in output
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much, @Dirk Ronsmans
Also, for taking the time to do the tests and grab the screenshots.
Regards,
M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.