Tool for creating links to pages on Team System Web Access

Would you like to send links to work items, team projects or source files on  Team System Web Access?

For work items
… you can find the answer in the offical TSWA FAQ:

Q: What’s the URL to use if I want to send the link of a specific work item?

A: Work item links use the follwing format:

http://[TSWA:port]/wi.aspx?id=[WorkItemID]

For Team Projects
… it also pretty simple:

http://[TSWA:port]/index.aspx?pname=[ProjectName]

For Source Files
it’s a little bit more “interesting” (thanks to Hakan from Microsoft for reveiling the details behind this secret).

It’s a bit tricky but here it goes:

http://[TSWA:port]/UI/Pages/Scc/ViewSource.aspx?scc-item=[ItemData]

ItemData is the HtmlEncoded output of the query string something like “id=10&cs=-1”

  • id: the ID of the item in source control (you need to know this instead of the file path)
  • cs: changeset number (-1: latest)

In your example, the file id is 151611. So,

HtmlEncode(“id=151611&cs=-1”) -> “id%3D151611%26cs%3D-1”

https://[TSWA:port]/UI/Pages/Scc/ViewSource.aspx?scc-item=id%3D151611%26cs%3D-1

[We’re planning to provide more friendly URLs in a future version, similar to wi.aspx approach]

To make it fast and more convenient to create links to TSWA I created a small tool to help you with it:

TeamSystemWebAccessLinkCreator

It should be mentioned that this tool has a lot of room for improvement. :-)

You can download the source from an updated version here.

3 thoughts on “Tool for creating links to pages on Team System Web Access”

  1. Is there anyway to get a link to a query result list? I need to send management to the list of items in the next iteration, but TSWA complains.

  2. I get this when I use the link:
    http://maxq-nor-02:8008/wi.aspx?id=514

    Server Error in ‘/’ Application.
    ——————————————————————————–

    The resource cannot be found.
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /wi.aspx

    ——————————————————————————–
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>