Hello,
In an automation I have to display the comment of the transition (which is not mandatory). This smart value does not exist:
{{transition.comment}}
This smart value does not suit me:
{{issue.comment.last.body}}
Since it shows me the last comment.
I want the comment of the transition. And if there is none I want it to show me nothing.
Would you have a solution please ?
Thanks
Estelle
I found a solution and it works.
In the automation in "condition" I noted this :
And in "action" I edited the desired field with:
{{issue.comment.last.body}}
Brilliant solution @Estelle Decanis .
I had the same requirement and this works like a charm.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Estelle Decanis
There is no such thing as a "transition comment". There are only Comments, in general. A Comment may be entered at the same time a status transition occurs, but the Comment does not include any flag or indicator that it relates specifically to the status transition.
Whenever asking for help with an Automation Rule it is very helpful to us if you show us your entire rule so that we can get an understanding of the context. Perhaps if you provide that and explain to us what problem you are trying to solve, then we will be able to provide better guidance.
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.