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?
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.