Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation comment after assign

Proshkin Kirill March 13, 2024

Hello Community.
I use automation with assign and comment rule.
when smb create a ticket on portal, based on one field value I choose an assignee for ticket and than want to leave a comment "{{issue.assignee.displayName}} has been assigned this ticket."

But when I create an issue, comment rule doesn't work correct, it shows me only "has been assigned this ticket." , without {{issue.assignee.displayName}} value.Screenshot 2024-03-13 at 8.40.17 PM.pngScreenshot 2024-03-13 at 8.50.30 PM.png

Also if I create another rule where I create a comment after trigger "Issue created" than create a comment, I have the same problem, no value for {{issue.assignee.displayName}}

 

1 answer

1 accepted

2 votes
Answer accepted
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2024

Hello @Proshkin Kirill 

Please add a refetch action before your comment. In fact add 2.

Its a race condition where when comment action is being executed and system hasnt had time to update the DB yet of assignee name.

Proshkin Kirill March 13, 2024

@Kalyan Sattaluri Thank you so much!
You are simply the best. 
Have a nice day!

Like Kalyan Sattaluri likes this
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 13, 2024

Awesome, Please consider accepting answer so it benefits others in future.

Proshkin Kirill March 13, 2024

@Kalyan Sattaluri Yes, sure.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events