Forums

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

"Prevent duplicates by only adding this comment once to a particular issue" not preventing duplicate

Dylan Alperin
Contributor
July 25, 2022

I have an automation like the below where I only want it to trigger once when first assigned.

  • When: Issue Assigned
    • Rule is run when issue is assigned to a user.
  • If: Matches
    • Issue type equals (Internal issue type)
      • Then: Add comment to the issue
      • "Please blah blah blah"
      • Prevent duplicates is turned "ON"

Why is it duplicating when I reassign?

Test.jpg

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer
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 Champions.
August 30, 2017

Anytime you create/modify a new custom field in JIRA, it has to reindex to be able to see that field and use it properly.  The fact that you encountered some error while indexing is probably the key here.

I would recommend trying to reindex again.   You can try the background reindex first.   But if this problem persists after that, you might have to use the "Lock JIRA and rebuild index" option.  Please note that this will leave the entire JIRA instance unavailable to all users until this index has been rebuilt.  If you have a large environment with a lot of issues and a lot of custom fields, this process could take a long time to finish.   This lock and rebuild option should be able to fix this if you happen to have corrupted indexes for some reason.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events