<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Changeset objects from associated work items</title><link>http://blogs.msdn.com/buckh/archive/2006/08/12/artifact-uri-to-changeset.aspx</link><description>On internal mailing list, someone asked how to do this, and I thought it's worth sharing. You can get a Changeset object using its artifact URI (aka link) via VersionControlServer.ArtifactProvider . Here’s how that would look like, based on modifying</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Buck Hodges : Links to code samples</title><link>http://blogs.msdn.com/buckh/archive/2006/08/12/artifact-uri-to-changeset.aspx#696601</link><pubDate>Sat, 12 Aug 2006 17:53:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:696601</guid><dc:creator>Buck Hodges : Links to code samples</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/buckh/archive/2006/08/12/tfs_api_links.aspx"&gt;http://blogs.msdn.com/buckh/archive/2006/08/12/tfs_api_links.aspx&lt;/a&gt;</description></item><item><title>Catching up on Team System Blogs</title><link>http://blogs.msdn.com/buckh/archive/2006/08/12/artifact-uri-to-changeset.aspx#698879</link><pubDate>Mon, 14 Aug 2006 04:14:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:698879</guid><dc:creator>MrDave's (David Yack) Blog!</dc:creator><description>After traveling most of June, and then some in July it&amp;amp;amp;rsquo;s been hard catching back up but almost...</description></item><item><title>re: Getting Changeset objects from associated work items</title><link>http://blogs.msdn.com/buckh/archive/2006/08/12/artifact-uri-to-changeset.aspx#8770454</link><pubDate>Fri, 25 Jul 2008 02:30:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8770454</guid><dc:creator>Andy Pham</dc:creator><description>&lt;p&gt;I was tried your snip code above and get this error when I created new WorkItemStore Object.&lt;/p&gt;
&lt;p&gt;WorkItemStore wiStore = (WorkItemStore)server.GetService(typeof(WorkItemStore));&lt;/p&gt;
&lt;p&gt;Unhandled Exception: Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access server&lt;/p&gt;
&lt;p&gt;Do you have any idea what it causes? I'm using TFS 2008&lt;/p&gt;
</description></item><item><title>re: Getting Changeset objects from associated work items</title><link>http://blogs.msdn.com/buckh/archive/2006/08/12/artifact-uri-to-changeset.aspx#8792813</link><pubDate>Thu, 31 Jul 2008 05:08:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8792813</guid><dc:creator>buckh</dc:creator><description>&lt;p&gt;Andy, are you doing this in a web service? &amp;nbsp;If so, be sure to set WorkItemTrackingCacheRoot in the web.config file. &amp;nbsp;See &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/narend/archive/2006/07/29/682032.aspx"&gt;http://blogs.msdn.com/narend/archive/2006/07/29/682032.aspx&lt;/a&gt; for more info.&lt;/p&gt;
&lt;p&gt;Buck&lt;/p&gt;
</description></item></channel></rss>