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

Automation comments are not being written.

Patrick Till October 16, 2023

Hello All

I have an automation that is scheduled to run every day at 9am.
It runs successfully.

If the condition passes it is to write a comment.

I have "Prevent duplicates by only adding this comment once to a particular issue" ticked.
I expect that the comment will be written at least once.

When reviewing my audit trail I see the automation ran but with the below message but when I checked the issue, my comment was never written ever.

Comment on issue
No new comment was added since this issue has been commented on before:
It looks like it did not write my comment because a comment existed even though my comment did not exists.
Any input would be appreciated.

2 answers

0 votes
Patrick Till October 17, 2023

2023-10-17 14_31_01-SA Service Desk - Details - Service project - Jira Service Management.jpg2023-10-17 14_30_45-SA Service Desk - Details - Service project - Jira Service Management.jpg2023-10-17 14_29_31-SA Service Desk - Details - Service project - Jira Service Management.jpg2023-10-17 08_34_13-SA Service Desk - Details - Service project - Jira Service Management.jpgHi Everyone,

Here is the automation and audit.

0 votes
Marc - Devoteam
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.
October 17, 2023

Hi @Patrick Till 

Could you be kind to share the full automation rule and all it's details.

This will help us in the community, to maybe give you a solution based upon your rule.

What is the condition used and it's settings.

Patrick Till October 17, 2023

HI

I posted the automation as you have suggested.

Marc - Devoteam
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.
October 17, 2023

HI @Patrick Till 

in your JQL I see that you look at statusCategoryChangedDate, this looks at the category the status Waiting for PO is in.

So category "to do", "in progress" or "done", I think this my cause the issue if a comment has been added before when the issue also was in the same status category.

JQL I would try:

issuetype= Quote and status = "Waiting for PO" and and updated <= -30d

Patrick Till October 17, 2023

Thank you for your input, I shall certainly try it.

The thing I noticed is that it sometimes does run successfully but won't write the comment and I was trying to find out why it is not writing the comment even if it was successful.

Log Message :- No new comment was added since this issue has been commented on before.

Suggest an answer

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

Atlassian Community Events