{"action":"created","comment":{"url":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/comments/66846497","id":66846497,"diff_hunk":"@@ -26,15 +27,16 @@ private T ResolveService<T>()\n             return ServiceLocator.Default.ResolveType<T>();\n         }\n \n-        private Context CreateContext(string version)\n+        private Context CreateContext(string version, string[] issues = null)\n         {\n             var context = new Context\n             {\n                 JiraUrl = JiraUrl,\n                 Project = JiraProject,\n                 UserName = JiraUser,\n                 Password = JiraPassword,\n-                Version = version\n+                Version = version,\n+                Issues = issues","path":"src/JiraCli.Tests/IntegrationTests/IntegrationTests.cs","position":23,"original_position":23,"commit_id":"9ef1acf0a9a0cb7af2029b29cfd209769b13840d","original_commit_id":"9ef1acf0a9a0cb7af2029b29cfd209769b13840d","user":{"login":"GeertvanHorrik","id":1246444,"avatar_url":"https://avatars.githubusercontent.com/u/1246444?v=3","gravatar_id":"","url":"https://api.github.com/users/GeertvanHorrik","html_url":"https://github.com/GeertvanHorrik","followers_url":"https://api.github.com/users/GeertvanHorrik/followers","following_url":"https://api.github.com/users/GeertvanHorrik/following{/other_user}","gists_url":"https://api.github.com/users/GeertvanHorrik/gists{/gist_id}","starred_url":"https://api.github.com/users/GeertvanHorrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeertvanHorrik/subscriptions","organizations_url":"https://api.github.com/users/GeertvanHorrik/orgs","repos_url":"https://api.github.com/users/GeertvanHorrik/repos","events_url":"https://api.github.com/users/GeertvanHorrik/events{/privacy}","received_events_url":"https://api.github.com/users/GeertvanHorrik/received_events","type":"User","site_admin":false},"body":"Maybe best to use this:\r\n\r\n```\r\nissues ?? new string[] { }\r\n```\r\n\r\nThat way we never have to check for null on issues.","created_at":"2016-06-13T18:53:00Z","updated_at":"2016-06-13T18:53:00Z","html_url":"https://github.com/CatenaLogic/JiraCli/pull/7#discussion_r66846497","pull_request_url":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/comments/66846497"},"html":{"href":"https://github.com/CatenaLogic/JiraCli/pull/7#discussion_r66846497"},"pull_request":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7","id":73606511,"html_url":"https://github.com/CatenaLogic/JiraCli/pull/7","diff_url":"https://github.com/CatenaLogic/JiraCli/pull/7.diff","patch_url":"https://github.com/CatenaLogic/JiraCli/pull/7.patch","issue_url":"https://api.github.com/repos/CatenaLogic/JiraCli/issues/7","number":7,"state":"open","locked":false,"title":"Assigning a fix Version to a set of issues.","user":{"login":"dazinator","id":3176632,"avatar_url":"https://avatars.githubusercontent.com/u/3176632?v=3","gravatar_id":"","url":"https://api.github.com/users/dazinator","html_url":"https://github.com/dazinator","followers_url":"https://api.github.com/users/dazinator/followers","following_url":"https://api.github.com/users/dazinator/following{/other_user}","gists_url":"https://api.github.com/users/dazinator/gists{/gist_id}","starred_url":"https://api.github.com/users/dazinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazinator/subscriptions","organizations_url":"https://api.github.com/users/dazinator/orgs","repos_url":"https://api.github.com/users/dazinator/repos","events_url":"https://api.github.com/users/dazinator/events{/privacy}","received_events_url":"https://api.github.com/users/dazinator/received_events","type":"User","site_admin":false},"body":"This PR is to add an action to the command line, that allows assigning a fix Version to a specified set of issues (for #4)\r\n\r\nThe fix version must already be created, and the issues must already exist.\r\n\r\nThe command line is:\r\n\r\n` [basecall] -action AssignVersion -project \"KEY\" -version 0.0.1 -issues \"KEY-1,KEY-2,KEY-3\" `\r\n\r\nThe update only appends the specified version to the fix version field on the issues, it won't overwrite or remove existing fix versions in the field.","created_at":"2016-06-13T16:41:59Z","updated_at":"2016-06-13T18:53:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa05a8deb5165c9d3cd095def43b9551dfde0895","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7/commits","review_comments_url":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7/comments","review_comment_url":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CatenaLogic/JiraCli/issues/7/comments","statuses_url":"https://api.github.com/repos/CatenaLogic/JiraCli/statuses/9ef1acf0a9a0cb7af2029b29cfd209769b13840d","head":{"label":"dazinator:issue-4","ref":"issue-4","sha":"9ef1acf0a9a0cb7af2029b29cfd209769b13840d","user":{"login":"dazinator","id":3176632,"avatar_url":"https://avatars.githubusercontent.com/u/3176632?v=3","gravatar_id":"","url":"https://api.github.com/users/dazinator","html_url":"https://github.com/dazinator","followers_url":"https://api.github.com/users/dazinator/followers","following_url":"https://api.github.com/users/dazinator/following{/other_user}","gists_url":"https://api.github.com/users/dazinator/gists{/gist_id}","starred_url":"https://api.github.com/users/dazinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazinator/subscriptions","organizations_url":"https://api.github.com/users/dazinator/orgs","repos_url":"https://api.github.com/users/dazinator/repos","events_url":"https://api.github.com/users/dazinator/events{/privacy}","received_events_url":"https://api.github.com/users/dazinator/received_events","type":"User","site_admin":false},"repo":{"id":61038357,"name":"JiraCli","full_name":"dazinator/JiraCli","owner":{"login":"dazinator","id":3176632,"avatar_url":"https://avatars.githubusercontent.com/u/3176632?v=3","gravatar_id":"","url":"https://api.github.com/users/dazinator","html_url":"https://github.com/dazinator","followers_url":"https://api.github.com/users/dazinator/followers","following_url":"https://api.github.com/users/dazinator/following{/other_user}","gists_url":"https://api.github.com/users/dazinator/gists{/gist_id}","starred_url":"https://api.github.com/users/dazinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazinator/subscriptions","organizations_url":"https://api.github.com/users/dazinator/orgs","repos_url":"https://api.github.com/users/dazinator/repos","events_url":"https://api.github.com/users/dazinator/events{/privacy}","received_events_url":"https://api.github.com/users/dazinator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dazinator/JiraCli","description":"Command line interface (CLI) for JIRA","fork":true,"url":"https://api.github.com/repos/dazinator/JiraCli","forks_url":"https://api.github.com/repos/dazinator/JiraCli/forks","keys_url":"https://api.github.com/repos/dazinator/JiraCli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dazinator/JiraCli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dazinator/JiraCli/teams","hooks_url":"https://api.github.com/repos/dazinator/JiraCli/hooks","issue_events_url":"https://api.github.com/repos/dazinator/JiraCli/issues/events{/number}","events_url":"https://api.github.com/repos/dazinator/JiraCli/events","assignees_url":"https://api.github.com/repos/dazinator/JiraCli/assignees{/user}","branches_url":"https://api.github.com/repos/dazinator/JiraCli/branches{/branch}","tags_url":"https://api.github.com/repos/dazinator/JiraCli/tags","blobs_url":"https://api.github.com/repos/dazinator/JiraCli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dazinator/JiraCli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dazinator/JiraCli/git/refs{/sha}","trees_url":"https://api.github.com/repos/dazinator/JiraCli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dazinator/JiraCli/statuses/{sha}","languages_url":"https://api.github.com/repos/dazinator/JiraCli/languages","stargazers_url":"https://api.github.com/repos/dazinator/JiraCli/stargazers","contributors_url":"https://api.github.com/repos/dazinator/JiraCli/contributors","subscribers_url":"https://api.github.com/repos/dazinator/JiraCli/subscribers","subscription_url":"https://api.github.com/repos/dazinator/JiraCli/subscription","commits_url":"https://api.github.com/repos/dazinator/JiraCli/commits{/sha}","git_commits_url":"https://api.github.com/repos/dazinator/JiraCli/git/commits{/sha}","comments_url":"https://api.github.com/repos/dazinator/JiraCli/comments{/number}","issue_comment_url":"https://api.github.com/repos/dazinator/JiraCli/issues/comments{/number}","contents_url":"https://api.github.com/repos/dazinator/JiraCli/contents/{+path}","compare_url":"https://api.github.com/repos/dazinator/JiraCli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dazinator/JiraCli/merges","archive_url":"https://api.github.com/repos/dazinator/JiraCli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dazinator/JiraCli/downloads","issues_url":"https://api.github.com/repos/dazinator/JiraCli/issues{/number}","pulls_url":"https://api.github.com/repos/dazinator/JiraCli/pulls{/number}","milestones_url":"https://api.github.com/repos/dazinator/JiraCli/milestones{/number}","notifications_url":"https://api.github.com/repos/dazinator/JiraCli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dazinator/JiraCli/labels{/name}","releases_url":"https://api.github.com/repos/dazinator/JiraCli/releases{/id}","deployments_url":"https://api.github.com/repos/dazinator/JiraCli/deployments","created_at":"2016-06-13T13:24:35Z","updated_at":"2016-06-13T13:24:35Z","pushed_at":"2016-06-13T16:37:16Z","git_url":"git://github.com/dazinator/JiraCli.git","ssh_url":"git@github.com:dazinator/JiraCli.git","clone_url":"https://github.com/dazinator/JiraCli.git","svn_url":"https://github.com/dazinator/JiraCli","homepage":null,"size":572,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CatenaLogic:develop","ref":"develop","sha":"6ae6ae699d04978251e943aa624b7b8e7a566d3b","user":{"login":"CatenaLogic","id":7911329,"avatar_url":"https://avatars.githubusercontent.com/u/7911329?v=3","gravatar_id":"","url":"https://api.github.com/users/CatenaLogic","html_url":"https://github.com/CatenaLogic","followers_url":"https://api.github.com/users/CatenaLogic/followers","following_url":"https://api.github.com/users/CatenaLogic/following{/other_user}","gists_url":"https://api.github.com/users/CatenaLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/CatenaLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatenaLogic/subscriptions","organizations_url":"https://api.github.com/users/CatenaLogic/orgs","repos_url":"https://api.github.com/users/CatenaLogic/repos","events_url":"https://api.github.com/users/CatenaLogic/events{/privacy}","received_events_url":"https://api.github.com/users/CatenaLogic/received_events","type":"Organization","site_admin":false},"repo":{"id":27137638,"name":"JiraCli","full_name":"CatenaLogic/JiraCli","owner":{"login":"CatenaLogic","id":7911329,"avatar_url":"https://avatars.githubusercontent.com/u/7911329?v=3","gravatar_id":"","url":"https://api.github.com/users/CatenaLogic","html_url":"https://github.com/CatenaLogic","followers_url":"https://api.github.com/users/CatenaLogic/followers","following_url":"https://api.github.com/users/CatenaLogic/following{/other_user}","gists_url":"https://api.github.com/users/CatenaLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/CatenaLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatenaLogic/subscriptions","organizations_url":"https://api.github.com/users/CatenaLogic/orgs","repos_url":"https://api.github.com/users/CatenaLogic/repos","events_url":"https://api.github.com/users/CatenaLogic/events{/privacy}","received_events_url":"https://api.github.com/users/CatenaLogic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CatenaLogic/JiraCli","description":"Command line interface (CLI) for JIRA","fork":false,"url":"https://api.github.com/repos/CatenaLogic/JiraCli","forks_url":"https://api.github.com/repos/CatenaLogic/JiraCli/forks","keys_url":"https://api.github.com/repos/CatenaLogic/JiraCli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CatenaLogic/JiraCli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CatenaLogic/JiraCli/teams","hooks_url":"https://api.github.com/repos/CatenaLogic/JiraCli/hooks","issue_events_url":"https://api.github.com/repos/CatenaLogic/JiraCli/issues/events{/number}","events_url":"https://api.github.com/repos/CatenaLogic/JiraCli/events","assignees_url":"https://api.github.com/repos/CatenaLogic/JiraCli/assignees{/user}","branches_url":"https://api.github.com/repos/CatenaLogic/JiraCli/branches{/branch}","tags_url":"https://api.github.com/repos/CatenaLogic/JiraCli/tags","blobs_url":"https://api.github.com/repos/CatenaLogic/JiraCli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CatenaLogic/JiraCli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CatenaLogic/JiraCli/git/refs{/sha}","trees_url":"https://api.github.com/repos/CatenaLogic/JiraCli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CatenaLogic/JiraCli/statuses/{sha}","languages_url":"https://api.github.com/repos/CatenaLogic/JiraCli/languages","stargazers_url":"https://api.github.com/repos/CatenaLogic/JiraCli/stargazers","contributors_url":"https://api.github.com/repos/CatenaLogic/JiraCli/contributors","subscribers_url":"https://api.github.com/repos/CatenaLogic/JiraCli/subscribers","subscription_url":"https://api.github.com/repos/CatenaLogic/JiraCli/subscription","commits_url":"https://api.github.com/repos/CatenaLogic/JiraCli/commits{/sha}","git_commits_url":"https://api.github.com/repos/CatenaLogic/JiraCli/git/commits{/sha}","comments_url":"https://api.github.com/repos/CatenaLogic/JiraCli/comments{/number}","issue_comment_url":"https://api.github.com/repos/CatenaLogic/JiraCli/issues/comments{/number}","contents_url":"https://api.github.com/repos/CatenaLogic/JiraCli/contents/{+path}","compare_url":"https://api.github.com/repos/CatenaLogic/JiraCli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CatenaLogic/JiraCli/merges","archive_url":"https://api.github.com/repos/CatenaLogic/JiraCli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CatenaLogic/JiraCli/downloads","issues_url":"https://api.github.com/repos/CatenaLogic/JiraCli/issues{/number}","pulls_url":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls{/number}","milestones_url":"https://api.github.com/repos/CatenaLogic/JiraCli/milestones{/number}","notifications_url":"https://api.github.com/repos/CatenaLogic/JiraCli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CatenaLogic/JiraCli/labels{/name}","releases_url":"https://api.github.com/repos/CatenaLogic/JiraCli/releases{/id}","deployments_url":"https://api.github.com/repos/CatenaLogic/JiraCli/deployments","created_at":"2014-11-25T17:31:45Z","updated_at":"2016-06-01T14:43:10Z","pushed_at":"2016-06-13T16:41:59Z","git_url":"git://github.com/CatenaLogic/JiraCli.git","ssh_url":"git@github.com:CatenaLogic/JiraCli.git","clone_url":"https://github.com/CatenaLogic/JiraCli.git","svn_url":"https://github.com/CatenaLogic/JiraCli","homepage":null,"size":568,"stargazers_count":6,"watchers_count":6,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7"},"html":{"href":"https://github.com/CatenaLogic/JiraCli/pull/7"},"issue":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/issues/7"},"comments":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/CatenaLogic/JiraCli/statuses/9ef1acf0a9a0cb7af2029b29cfd209769b13840d"}}}}
{"actor":{"display_login":"GeertvanHorrik"}}