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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation condition

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 Jan 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

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you