Automation condition

Bill Penney
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2021

Is there a way to write a condition to check if an issue has a comment that was created by a specific user?

1 answer

0 votes
Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2021

Hi @Bill Penney , 

 

you can do this using Automation for Jira. You will have to create a rule to trigger when an issue is commented, and check the Comment Author value :

 

Screenshot 2021-01-20 at 15.02.50.png

Let me know if this helps, 

 

--Alexis

Bill Penney
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2021

Sorry, I should have elaborated on this a little more.  I have a trigger on a Incoming webhook from Github that adds a comment to a particular issue. The problem is, this trigger is fired multiple times, however I only need to add the comment once per issue. The prevent duplicate check is not working on the add comment component, probably because I'm using smart values for the content. Don't know if I need to iterate through all the comments to see if the author.displayname = "username".

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