Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent Duplicate Comments in Automation Jira Overidden When Rule Disabled/Enabled

Jeff Gordon
Contributor
August 4, 2023

Use Case: You have an automation that adds a comment to an issue and you have the option "Prevent duplicates by only adding this comment once to a particular issue." checked.

First time you run the rule the comment is added.  On subsequent runs the comment is not added and the audit log states: "No new comment was added since this issue has been commented on before:"

Life is good.

For any number of reasons, you disable the automation rule.  You subsequently re-enable the rule.

Next the time the rule runs the comment is added again.

Is this documented somewhere?

Shouldn't this be added as a caveat under the checkbox for awareness?

Or is this a bug?

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
August 4, 2023

Hi @Jeff Gordon 

Yes, that is a known defect.  You can watch / vote for it to see progress: https://jira.atlassian.com/browse/AUTO-406

My hypothesis is that when a rule changes (including disable/enable) it has a new, unique identifier and whatever logging it checks is now a "clean slate" for the duplicate comment checking.

Kind regards,
Bill

Jeff Gordon
Contributor
August 4, 2023

I knew you would know ;-)

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events