{"id":3273,"date":"2006-10-17T23:33:00","date_gmt":"2006-10-17T23:33:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2006\/10\/17\/assigning-work-items-for-failed-builds\/"},"modified":"2006-10-17T23:33:00","modified_gmt":"2006-10-17T23:33:00","slug":"assigning-work-items-for-failed-builds","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/assigning-work-items-for-failed-builds\/","title":{"rendered":"Assigning work items for failed builds"},"content":{"rendered":"<p><a href=\"http:\/\/sstjean.blogspot.com\/\">Steven St. Jean<\/a> has written a nice post about how to assign to a particular person the work item that&#8217;s created for a failed build.&nbsp; When he talks about the name for the Assigned To field, it must match the name that&#8217;s displayed in work item tracking.&nbsp; WIT shows the display name for a user, rather than the shorter domain login (aka alias).<\/p>\n<blockquote>\n<p><a href=\"http:\/\/sstjean.blogspot.com\/2006\/10\/tfs-team-build-on-failed-build-assign.html\">TFS &#8211; Team Build &#8211; On failed build assign workitem to a specific user<\/a><\/p>\n<p><strong>Problem: <\/strong>\n<\/p>\n<p>I just came across a post on the MSDN TFS forums that was asking how you go about assigning the workitem created on a failed build to a specific user.&nbsp; I have also been asked to do this in my organization.&nbsp; \n<\/p>\n<p><strong>Background:<\/strong> \n<\/p>\n<p>Team Build will create a new workitem in your Team Project when a build fails.&nbsp; The &#8220;task&#8221; is assigned to the account that ran the build.&nbsp; In my case, that account is a build service account.&nbsp; One of my Dev Leads asked how we could modify the build process to make the assignment to him whenever one of his builds failed.&nbsp; I didn&#8217;t have time to look into it, so I pretty much blew him off.&nbsp; I recently had some time to look back into this subject. \n<\/p>\n<p><a href=\"http:\/\/sstjean.blogspot.com\/2006\/10\/tfs-team-build-on-failed-build-assign.html\">more&#8230;<\/a><\/p>\n<\/blockquote>\n<p>tags: <a href=\"http:\/\/technorati.com\/tag\/tfs\" rel=\"tag\">tfs<\/a>, <a href=\"http:\/\/technorati.com\/tag\/team+foundation+server\" rel=\"tag\">team foundation server<\/a>, <a href=\"http:\/\/technorati.com\/tag\/team+build\" rel=\"tag\">team build<\/a><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steven St. Jean has written a nice post about how to assign to a particular person the work item that&#8217;s created for a failed build.&nbsp; When he talks about the name for the Assigned To field, it must match the name that&#8217;s displayed in work item tracking.&nbsp; WIT shows the display name for a user, [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[7,8],"class_list":["post-3273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-team-build","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>Steven St. Jean has written a nice post about how to assign to a particular person the work item that&#8217;s created for a failed build.&nbsp; When he talks about the name for the Assigned To field, it must match the name that&#8217;s displayed in work item tracking.&nbsp; WIT shows the display name for a user, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/3273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=3273"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/3273\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=3273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=3273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=3273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}