Add environment variable for added/changed comment on edit review trigger
We use an email service to send the assignee of a created code review a message.
Also the creator of the code review gets a message if the review is changed (using the after-editreview trigger). This is also triggered if the assignee adds a comment to the code review, but there is no possibility to get the comment to add it to the email.
So it would be nice to add the comment (if there is any) as variable .
[New] 7.0.16.2407
before-editreview and after-editreview triggers: Two new environment variables are available for the before and after editreview triggers regarding the review comments:
PLASTIC_REVIEW_COMMENT and PLASTIC_REVIEW_COMMENT_ACTION. The first one contains the comment that fired the trigger, and the second one reflects the action on the comment “Created”, “Edited”, or “Deleted”. These variables will be empty if the action that fired the trigger is changing the code review status or the assignee.