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
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?