what smart value concerns the transition comment ?

Estelle Decanis April 3, 2023

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

2 answers

1 accepted

1 vote
Answer accepted
Estelle Decanis April 6, 2023

I found a solution and it works.


In the automation in "condition" I noted this :

2023-04-06_09h09_10.png

 

And in "action" I edited the desired field with:

           {{issue.comment.last.body}}

atarab June 5, 2023

Brilliant solution @Estelle Decanis .

I had the same requirement and this works like a charm. 

Thank you!

Like Estelle Decanis likes this
0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 3, 2023

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events