{"id":10782,"date":"2016-01-07T15:32:37","date_gmt":"2016-01-07T15:32:37","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2016\/01\/07\/receive-an-error-when-resolving-a-bug-created-by-your-build\/"},"modified":"2022-08-02T23:40:02","modified_gmt":"2022-08-03T07:40:02","slug":"receive-an-error-when-resolving-a-bug-created-by-your-build","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/receive-an-error-when-resolving-a-bug-created-by-your-build\/","title":{"rendered":"Receive an error when resolving a bug created by your build?"},"content":{"rendered":"<p>When you create a new build definition, you have the option to create a bug when the build failed.<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/01\/6471.image_thumb_1C286BBE.png\" width=\"644\" height=\"412\" \/><\/p>\n<p>\u00a0<\/p>\n<p>If you activate this option, it is possible that you will receive the following error message when resolving the bug: The field &#8216;Assigned To&#8217; contains the value &#8216;[DefaultCollection]Project Collection Service Accounts&#8217; that is not in the list of supported values.&#8221;<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/01\/7750.image_thumb_226327DC.png\" width=\"644\" height=\"191\" \/><\/p>\n<p>\u00a0<\/p>\n<p>The reason for this is that the new build system uses a service account to create the bug, which is a group in TFS. In WIT however we have made a change recently which doesn\u2019t allow to assign work items to groups anymore. We are working on a fix for this, but you can already unblock yourself today. In the build definition, you can specify an explicit value for the System.CreatedBy field.<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/01\/1643.image_thumb_1F9E1303.png\" width=\"644\" height=\"428\" \/><\/p>\n<pre><code>        &lt;p&gt;&amp;#160;&lt;\/p&gt;  &lt;p&gt;Sorry for any inconvenience that we have caused.&lt;\/p&gt;  &lt;p&gt;Ewald&lt;\/p&gt;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When you create a new build definition, you have the option to create a bug when the build failed. \u00a0 If you activate this option, it is possible that you will receive the following error message when resolving the bug: The field &#8216;Assigned To&#8217; contains the value &#8216;[DefaultCollection]Project Collection Service Accounts&#8217; that is not in [&hellip;]<\/p>\n","protected":false},"author":72,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10782","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"acf":[],"blog_post_summary":"<p>When you create a new build definition, you have the option to create a bug when the build failed. \u00a0 If you activate this option, it is possible that you will receive the following error message when resolving the bug: The field &#8216;Assigned To&#8217; contains the value &#8216;[DefaultCollection]Project Collection Service Accounts&#8217; that is not in [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/10782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/72"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=10782"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/10782\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=10782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=10782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=10782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}