Change TFS Alert Email Subject Line - tfs

We are running TFS Visual Studio online. Is there a way to configure the email subject line of alert emails to be more user friendly/Readable

No. This is not something you can do with VSOnline. On premise TFS has some templates on the App Server(s) IIRC that you can edit.
I can't see the VSO team adding customisation, but you could always log something on UserVoice and see what happens.
You could consider using the Service Hooks to push notifications to another service that could then create the e-mails. I've not tried this so I don't know how scalable it will be.

Related

TFS Build Summary Notification with Attachment Link

How i can add attachment link in TFS Build notification email? I have TFS 2017 on-premises installed. I have tried by making changes in xls file but it didnt worked. i will be grateful to you if anyone can help me with this.
You can find the email templates in %PROGRAMFILES%\Microsoft Team Foundation Server 2015\Application Tier\TFSJobAgent\Transforms and modify them the way you want. In this folder you'll find the build completion events xsl files.
The build events expose a Url property, which shows the hyperlink in the email.
Besides, you could also choose to use some 3rd-party extension to send E-mail Notification.
Send Email
Other Extension
Those tasks they send an email to the address(es) you defined in your pipeline. You can defined the contents of the message yourself.

TFS File Changed Notifications in future branches

We've got TFS email alerts set up when certain files are changed. In the future, many of these files will likely have "copies" via branching. Other than manually creating additional alerts each time a branch is created, can anyone offer some strategies for this scenario? Or simply strategies to make sure we're covered in case a branch is created and we forget to create these alerts.
Thanks for any help!
There is no out of box feature for this, you can submit a feature request on VSTS User Voice.
However, if the name of the files is unique,you can create an email alert just with "File Name = filename.extension" and "Folder Path Contains XXX". This will track the change for the file in the specified folders/branches.

TFS : Send mail to user if work item or comments are not provided

We have TFS 2012 installed.
I want to enforce check-in policies (Code Reviewer name, Work Item association and Comments) for each check-in.
All these settings are performed and are working fine. But still users have option to override the settings and check-in.
I want to setup email alerts so that whenever user check-ins without filling all check-in policies, there must a mail sent to user.
I tried Event subscription Tool and TFS mail alert options but both of them work for current user.
We have more than 200 employees and I cant ask each of them to subscribe for mails.
Is it possible to write custom code or some tool available which will be triggered when user check-ins overriding policies and send a mail to user?
You can create a TeamAlert for CheckIn events where Policy Override Comment is not empty and Commiter = [Me]. This will sent a mail to the developer that checked in overriding the policies.
Another option is to write an EventHandler plugin for TFS, which completely denies checkins that try to override the policies.
Finally I found solution. TFS Plugin Suite This plugin is really awesome. Once the plugin is in-place, it will be called before check-in and will validate the required fields and block check-in unless all values are correct.

team server foundation VS2010 setting up a workflow when task complete gets assigned to tester

I am very new to the whole team server foundation thing and I was hoping that you guys could point me in the right direction.
I have managed to successfully import a project from Microsoft Project 2010 into my VS 2010 tfs. Everything so far works great.
I was just wondering if it is possible to have a task that was completed by a developer to send a notification and assign a testing task to the tester.
In other words:
The developer completed his / her task.
The developer updates the task in TFS to “Completed”
The task gets assigned to the tester for testing.
Notification goes to tester of new task he / she must test.
Is this possible or must I manually assign the developers completed task to the tester for testing?. Or is it possible to set TFS up to automatically do this?
Any advice is greatly appreciated.
You can update the rule engine behind the work items. But how do you know the tester? I see two solutions.
Create a new field which has the tester in it. When the state is set to resolved the value of that field is copied to the AssignedTo.
Don't use the name of the tester but change the activity to Test when the state is changed to resolved.
In either way you can setup the work item alerts to get notified.
Resources:
Define Work Item Fields
Define and Customize Work Item Workflow
Set Personal or Team Alerts
Configure Email Notifications and Specify the SMTP Server

TFS Integration Platform Migration Issue access denied

Here is the scenario:
I have 2 TFS servers, TFS-A is in local and TFS-B is abroad.
Check into TFS-B is very slowly, so my idea is to check into TFS-A first,
and check all changes into TFS-B from TFS-A in once time at night.
But the TFS-A and TFS-B have different user accounts, when I synchronize them, error happens.
The error told me access denied.
So if it is possible to sync two TFS with different accounts.
How to do it?
Thanks in advance.
You need to supply a user mapping in your TFS integration platform configuration. A similar post shows how to do this in detail: TFS Integration Platform: How to map users with the SVN adapter?
Hope that helps you further.

Resources