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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Comment Entered During Transition Not Triggering "Issue Commented" Event

I would like the "Issue Commented" event to be triggered any time a user adds a comment (by selecting Comment, by adding a Comment under Edit, by adding a Comment during a transition), but it seems this is only happening when Comment is selected or a Comment is added at the bottom of the ticket. How do I ensure all comments added at any stage are firing an "Issue Commented" event?

1 answer

You can't without hackery. If you think about it, when you edit an issue, you (most likely) have the ability to do more than just add a comment. If you changed some field values and also added a comment, would it really make the most sense to fire off an "Issue Commented" alert? In the workflow, you can change which event is fired, so you could edit your workflow transition, and change the event to "Issue Commented" in the post-function of the transition, but you have the same problem as with Edit. If you present other fields there or your are closing an issue, does it really make the most sense to fire the Issue Commented event? You are able to edit what each notification does by modifying it's underlying velocity template (be sure to read the doc for the version of Jira you're running) to add the functionality you're looking for from the Issue Commented notification, so that would probably be the best way to achieve your goal. These changes do not survive an upgrade, so you'll want to document your changes so this doesn't become a headache during upgrade. I hope that helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Learn how to request and manage app requests in the Marketplace

G’day everyone! Super exciting news coming from the Marketplace. We have now fully rolled out the ability for end-users to submit app requests to admins directly from within the product! No longer ...

22 views 1 3
Read article

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