Creating email notification on cloned comment
I've recently set up clone comments using your methods described here: https://bitbucket.org/fcarmario/jira-workflow-toolbox/issues/241/copy-a-linked-issue-key-to-the-beginning
The process is working, however, I am noticing an email notification is not being sent to the user when the cloned comment is created. I'm curious, is there any way for me to create a notification there? Possibly through the global reflexive transition's postfunction?
Comments (9)
-
repo owner -
reporter Thanks for the quick reply Fidel, I am on 2.2.20 and see the update for 2.2.23, should I update?
-
repo owner Yes, please. Do the following:
- Update to 2.2.23
- Set target field to "New comment (sends email notifications)".
-
repo owner - changed version to 2.2.20
-
reporter Much easier than I thought it would be! Thanks so much, Fidel.
Nate Erlandson Tech Services United States Cold Storage 201 Laurel Rd Voorhees, NJ
-
repo owner - changed status to resolved
You are welcome :)
-
reporter - changed status to open
Just one last question, sorry. I'm assuming I can't set this for both projects? Eg, have the global reflexive clone comment step in both projects, so that comments can be cloned from either project to the other? Mainly curious about getting around the recursive loop I'm assuming would occur if both projects are firing the issue commented notification.
-
repo owner You can avoid the infinite loop using "New comment" as target field, instead of "New comment (sends email notifications)", since this way no event is triggered.
In that case you might use "Send an email" post-function to notify the new comment.
-
repo owner - changed status to resolved
- Log in to comment
Hi Nate,
Which version of the plugin are you using?