TFS Work Item Changed Notification: Customizing the URL for Team System Web Access
This has been explained a bunch of times – most notably here – I just thought I would capture here what I did to update our TFS instance to solve this issue.
Find this file:
[drive]:/Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services\v1.0\Transforms\WorkItemChangedEvent.xsl
Change this:
<xsl:value-of select="DisplayUrl" />
To this:
<xsl:value-of select="concat('http://[my_tfs_url]/wi.aspx?id=',substring-after(DisplayUrl,'artifactMoniker='))" />
That’s it – the only thing you may have to do is reset the web application that this is running from – which you can do by opening and saving the web.config in this folder: [drive]:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services
Rock on!
joel