Allow modify checkin comment on before-checkin trigger (VCS Commit Commands)
Allow modifying the PLASTIC_COMMENT environment variable from within before-checkin trigger process.
My particular scenario is to enable VCS Commit Comments integration in Teamcity with Youtrack. using branch-per-task, the branch name can be used to extract ticket ID..
for example .. for branch /main/yt_ADMINPORTAL-232 the ticket id is ADMINPORTAL-232... with this change, I'd create before-checkin trigger to modify the checkin comment by appending a line at the end:
my comments here...
ADMINPORTAL-232
![](https://secure.gravatar.com/avatar/b517e4e4ed6ec18ebb694df8eff898aa?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Never heard back from the user :-(
-
Hi Diego,
Why don't you do it in an after checkin trigger? I mean, we can change the current behavior, but expanding keywords is something doable *AFTER* checkin, isn't it?