{"action":"created","issue":{"url":"https://api.github.com/repos/tfsaggregator/tfsaggregator-webhooks/issues/28","repository_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator-webhooks","labels_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator-webhooks/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator-webhooks/issues/28/comments","events_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator-webhooks/issues/28/events","html_url":"https://github.com/tfsaggregator/tfsaggregator-webhooks/issues/28","id":345150231,"node_id":"MDU6SXNzdWUzNDUxNTAyMzE=","number":28,"title":"MakeNewWorkItem has bad code in it","user":{"login":"sykobag","id":12750477,"node_id":"MDQ6VXNlcjEyNzUwNDc3","avatar_url":"https://avatars3.githubusercontent.com/u/12750477?v=4","gravatar_id":"","url":"https://api.github.com/users/sykobag","html_url":"https://github.com/sykobag","followers_url":"https://api.github.com/users/sykobag/followers","following_url":"https://api.github.com/users/sykobag/following{/other_user}","gists_url":"https://api.github.com/users/sykobag/gists{/gist_id}","starred_url":"https://api.github.com/users/sykobag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sykobag/subscriptions","organizations_url":"https://api.github.com/users/sykobag/orgs","repos_url":"https://api.github.com/users/sykobag/repos","events_url":"https://api.github.com/users/sykobag/events{/privacy}","received_events_url":"https://api.github.com/users/sykobag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-27T09:10:45Z","updated_at":"2018-07-27T12:06:39Z","closed_at":null,"author_association":"NONE","body":"```c#\r\npublic IWorkItem MakeNewWorkItem(string projectName, string workItemTypeName)\r\n{\r\n if (string.IsNullOrWhiteSpace(projectName))\r\n {\r\n                throw new ArgumentNullException(nameof(projectName));\r\n            }\r\n            if (string.IsNullOrWhiteSpace(workItemTypeName))\r\n            {\r\n                throw new ArgumentNullException(nameof(workItemTypeName));\r\n            }\r\n            var targetType = this.workItemStore.Projects[projectName].WorkItemTypes[workItemTypeName];\r\n            var target = new WorkItem(targetType);\r\n            IWorkItem justCreated = new WorkItemWrapper(target, this.context);\r\n            this.createdWorkItems.Add(justCreated);\r\n            return justCreated;\r\n        }\r\n        public IWorkItem MakeNewWorkItem(IWorkItem inSameProjectAs, string workItemTypeName)\r\n        {\r\n            if (inSameProjectAs == null)\r\n            {\r\n                throw new ArgumentNullException(nameof(inSameProjectAs));\r\n            }\r\n            return this.MakeNewWorkItem(workItemTypeName, inSameProjectAs[CoreFieldReferenceNames.TeamProject] as string);\r\n        }\r\n```\r\n\r\nSee above, the call in the overloaded  `public IWorkItem MakeNewWorkItem(IWorkItem inSameProjectAs, string workItemTypeName)` has the strings in the wrong order"},"comment":{"url":"https://api.github.com/repos/tfsaggregator/tfsaggregator-webhooks/issues/comments/408399867","html_url":"https://github.com/tfsaggregator/tfsaggregator-webhooks/issues/28#issuecomment-408399867","issue_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator-webhooks/issues/28","id":408399867,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODM5OTg2Nw==","user":{"login":"sykobag","id":12750477,"node_id":"MDQ6VXNlcjEyNzUwNDc3","avatar_url":"https://avatars3.githubusercontent.com/u/12750477?v=4","gravatar_id":"","url":"https://api.github.com/users/sykobag","html_url":"https://github.com/sykobag","followers_url":"https://api.github.com/users/sykobag/followers","following_url":"https://api.github.com/users/sykobag/following{/other_user}","gists_url":"https://api.github.com/users/sykobag/gists{/gist_id}","starred_url":"https://api.github.com/users/sykobag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sykobag/subscriptions","organizations_url":"https://api.github.com/users/sykobag/orgs","repos_url":"https://api.github.com/users/sykobag/repos","events_url":"https://api.github.com/users/sykobag/events{/privacy}","received_events_url":"https://api.github.com/users/sykobag/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T12:06:39Z","updated_at":"2018-07-27T12:06:39Z","author_association":"NONE","body":"Ah, yep, found the good stuff now, thanks!"}}
{"actor":{"display_login":"sykobag"}}