{"action":"opened","issue":{"url":"https://api.github.com/repos/rfennell/vNextBuild/issues/256","repository_url":"https://api.github.com/repos/rfennell/vNextBuild","labels_url":"https://api.github.com/repos/rfennell/vNextBuild/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/rfennell/vNextBuild/issues/256/comments","events_url":"https://api.github.com/repos/rfennell/vNextBuild/issues/256/events","html_url":"https://github.com/rfennell/vNextBuild/issues/256","id":294321461,"number":256,"title":"Generate Release Notes (Crossplatform) throws JSON error with artifact that does not contain work items","user":{"login":"alexfoxetech","id":30657237,"avatar_url":"https://avatars2.githubusercontent.com/u/30657237?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfoxetech","html_url":"https://github.com/alexfoxetech","followers_url":"https://api.github.com/users/alexfoxetech/followers","following_url":"https://api.github.com/users/alexfoxetech/following{/other_user}","gists_url":"https://api.github.com/users/alexfoxetech/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfoxetech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfoxetech/subscriptions","organizations_url":"https://api.github.com/users/alexfoxetech/orgs","repos_url":"https://api.github.com/users/alexfoxetech/repos","events_url":"https://api.github.com/users/alexfoxetech/events{/privacy}","received_events_url":"https://api.github.com/users/alexfoxetech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T09:18:55Z","updated_at":"2018-02-05T09:18:55Z","closed_at":null,"author_association":"NONE","body":"### VSTS Extension you are using\r\nGenerate Release Notes (Crossplatform)\r\n\r\n### Where are you running it?\r\nTFS on-prem version 16.122.27102.1\r\n\r\n### Version of Extension/Task\r\n1.6.2\r\n\r\n### Expected behaviour and actual behaviour\r\nWe have an artifact that contains various scripts used in release deployment, it's a git repo in a project most users don't have access to. It will never contain work items so I'd like the task to be able to skip it if possible as it appears to be erroring the task and the markdown file fails to output:\r\n\r\n2018-02-02T15:41:34.9168157Z Looking at artifact [ReleaseScripts]\r\n2018-02-02T15:41:34.9168157Z Getting build associated with artifact. Build Id [3219246b6cedbb1ffafa1c20696b78aa5ebf901c]\r\n2018-02-02T15:41:34.9168157Z Getting the details of build 3219246b6cedbb1ffafa1c20696b78aa5ebf901c\r\n2018-02-02T15:41:34.9636924Z ##[error]Unhandled: Unexpected token < in JSON at position 2\r\n2018-02-02T15:41:34.9792598Z ##[section]Finishing: Generate Release Notes V2\r\n\r\n### Steps to reproduce the problem\r\n\r\nRun the task with an artifact that does not contain work items."}}
{"actor":{"display_login":"alexfoxetech"}}