I'm working to automate our merge process for changesets related to specific work items, but I'm kind of at a loss as to where to start.
Disclaimer: I'm almost completely new to TFS and DevOps entirely. I'll try and be as clear as possible, but if there is anything I need to elaborate on, please sound off in the comments.
Currently, part of the manual process of completing a work item is to manually merge the relevant changeset. This is done by requesting the merge from someone with the proper permissions to do so, which may or may not be the dev responsible for the changeset.
I've done a bit of research, and have come up with two ideas:
Create a custom TFS plugin to listen for a certain Work Item event (using the
ISubscriberinterface) and perform the merge
In the Work Item's workflow, add a custom action to the transition between stages 'x' and 'y'
I'm fairly confident that this can be done with a custom TFS plugin, but it also seems like that would be a lot more work than is necessary. Can TFS Power Tools be used to set something like this up?