{"action":"created","comment":{"url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/comments/38685871","id":38685871,"diff_hunk":"@@ -34,6 +38,35 @@ describe('JIRA Operations Tests', function() {\n           parent.fields.issuetype.name.should.eql('Story');\n         });\n     });\n+    it('Find parent from story with Sub-task parent', () => {","path":"test/jira-operations-test.js","position":29,"original_position":29,"commit_id":"24ab3c977d0b9a0a72ac4fee38565f03589ce6b2","original_commit_id":"24ab3c977d0b9a0a72ac4fee38565f03589ce6b2","user":{"login":"aabenoja","id":3229671,"avatar_url":"https://avatars.githubusercontent.com/u/3229671?v=3","gravatar_id":"","url":"https://api.github.com/users/aabenoja","html_url":"https://github.com/aabenoja","followers_url":"https://api.github.com/users/aabenoja/followers","following_url":"https://api.github.com/users/aabenoja/following{/other_user}","gists_url":"https://api.github.com/users/aabenoja/gists{/gist_id}","starred_url":"https://api.github.com/users/aabenoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabenoja/subscriptions","organizations_url":"https://api.github.com/users/aabenoja/orgs","repos_url":"https://api.github.com/users/aabenoja/repos","events_url":"https://api.github.com/users/aabenoja/events{/privacy}","received_events_url":"https://api.github.com/users/aabenoja/received_events","type":"User","site_admin":false},"body":"Space above this.","created_at":"2015-09-03T19:23:32Z","updated_at":"2015-09-03T19:23:32Z","html_url":"https://github.com/TWExchangeSolutions/jira-precommit-hook/pull/41#discussion_r38685871","pull_request_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/comments/38685871"},"html":{"href":"https://github.com/TWExchangeSolutions/jira-precommit-hook/pull/41#discussion_r38685871"},"pull_request":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41","id":43877089,"html_url":"https://github.com/TWExchangeSolutions/jira-precommit-hook/pull/41","diff_url":"https://github.com/TWExchangeSolutions/jira-precommit-hook/pull/41.diff","patch_url":"https://github.com/TWExchangeSolutions/jira-precommit-hook/pull/41.patch","issue_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/issues/41","number":41,"state":"open","locked":false,"title":"Carrier integration","user":{"login":"DarriusWrightGD","id":10588063,"avatar_url":"https://avatars.githubusercontent.com/u/10588063?v=3","gravatar_id":"","url":"https://api.github.com/users/DarriusWrightGD","html_url":"https://github.com/DarriusWrightGD","followers_url":"https://api.github.com/users/DarriusWrightGD/followers","following_url":"https://api.github.com/users/DarriusWrightGD/following{/other_user}","gists_url":"https://api.github.com/users/DarriusWrightGD/gists{/gist_id}","starred_url":"https://api.github.com/users/DarriusWrightGD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarriusWrightGD/subscriptions","organizations_url":"https://api.github.com/users/DarriusWrightGD/orgs","repos_url":"https://api.github.com/users/DarriusWrightGD/repos","events_url":"https://api.github.com/users/DarriusWrightGD/events{/privacy}","received_events_url":"https://api.github.com/users/DarriusWrightGD/received_events","type":"User","site_admin":false},"body":"Added the ability to have a story linked to a subtask","created_at":"2015-09-01T13:46:57Z","updated_at":"2015-09-03T19:23:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b85c1f92aeb75617f3bb73e8d10e84b74724c677","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41/commits","review_comments_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41/comments","review_comment_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/issues/41/comments","statuses_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/statuses/24ab3c977d0b9a0a72ac4fee38565f03589ce6b2","head":{"label":"DarriusWrightGD:carrierIntegration","ref":"carrierIntegration","sha":"24ab3c977d0b9a0a72ac4fee38565f03589ce6b2","user":{"login":"DarriusWrightGD","id":10588063,"avatar_url":"https://avatars.githubusercontent.com/u/10588063?v=3","gravatar_id":"","url":"https://api.github.com/users/DarriusWrightGD","html_url":"https://github.com/DarriusWrightGD","followers_url":"https://api.github.com/users/DarriusWrightGD/followers","following_url":"https://api.github.com/users/DarriusWrightGD/following{/other_user}","gists_url":"https://api.github.com/users/DarriusWrightGD/gists{/gist_id}","starred_url":"https://api.github.com/users/DarriusWrightGD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarriusWrightGD/subscriptions","organizations_url":"https://api.github.com/users/DarriusWrightGD/orgs","repos_url":"https://api.github.com/users/DarriusWrightGD/repos","events_url":"https://api.github.com/users/DarriusWrightGD/events{/privacy}","received_events_url":"https://api.github.com/users/DarriusWrightGD/received_events","type":"User","site_admin":false},"repo":{"id":41561057,"name":"jira-precommit-hook","full_name":"DarriusWrightGD/jira-precommit-hook","owner":{"login":"DarriusWrightGD","id":10588063,"avatar_url":"https://avatars.githubusercontent.com/u/10588063?v=3","gravatar_id":"","url":"https://api.github.com/users/DarriusWrightGD","html_url":"https://github.com/DarriusWrightGD","followers_url":"https://api.github.com/users/DarriusWrightGD/followers","following_url":"https://api.github.com/users/DarriusWrightGD/following{/other_user}","gists_url":"https://api.github.com/users/DarriusWrightGD/gists{/gist_id}","starred_url":"https://api.github.com/users/DarriusWrightGD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarriusWrightGD/subscriptions","organizations_url":"https://api.github.com/users/DarriusWrightGD/orgs","repos_url":"https://api.github.com/users/DarriusWrightGD/repos","events_url":"https://api.github.com/users/DarriusWrightGD/events{/privacy}","received_events_url":"https://api.github.com/users/DarriusWrightGD/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DarriusWrightGD/jira-precommit-hook","description":"Git commit hook to verify commit messages are tagged with a JIRA issue number","fork":true,"url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook","forks_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/forks","keys_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/teams","hooks_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/hooks","issue_events_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/issues/events{/number}","events_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/events","assignees_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/assignees{/user}","branches_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/branches{/branch}","tags_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/tags","blobs_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/git/refs{/sha}","trees_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/statuses/{sha}","languages_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/languages","stargazers_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/stargazers","contributors_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/contributors","subscribers_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/subscribers","subscription_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/subscription","commits_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/commits{/sha}","git_commits_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/git/commits{/sha}","comments_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/comments{/number}","issue_comment_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/issues/comments{/number}","contents_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/contents/{+path}","compare_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/merges","archive_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/downloads","issues_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/issues{/number}","pulls_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/pulls{/number}","milestones_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/milestones{/number}","notifications_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/labels{/name}","releases_url":"https://api.github.com/repos/DarriusWrightGD/jira-precommit-hook/releases{/id}","created_at":"2015-08-28T17:47:17Z","updated_at":"2015-08-28T17:47:17Z","pushed_at":"2015-09-03T18:51:12Z","git_url":"git://github.com/DarriusWrightGD/jira-precommit-hook.git","ssh_url":"git@github.com:DarriusWrightGD/jira-precommit-hook.git","clone_url":"https://github.com/DarriusWrightGD/jira-precommit-hook.git","svn_url":"https://github.com/DarriusWrightGD/jira-precommit-hook","homepage":"","size":452,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"TWExchangeSolutions:master","ref":"master","sha":"1d161847687a180c025660cda784f89c961ade6d","user":{"login":"TWExchangeSolutions","id":11860511,"avatar_url":"https://avatars.githubusercontent.com/u/11860511?v=3","gravatar_id":"","url":"https://api.github.com/users/TWExchangeSolutions","html_url":"https://github.com/TWExchangeSolutions","followers_url":"https://api.github.com/users/TWExchangeSolutions/followers","following_url":"https://api.github.com/users/TWExchangeSolutions/following{/other_user}","gists_url":"https://api.github.com/users/TWExchangeSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/TWExchangeSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TWExchangeSolutions/subscriptions","organizations_url":"https://api.github.com/users/TWExchangeSolutions/orgs","repos_url":"https://api.github.com/users/TWExchangeSolutions/repos","events_url":"https://api.github.com/users/TWExchangeSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/TWExchangeSolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":36466184,"name":"jira-precommit-hook","full_name":"TWExchangeSolutions/jira-precommit-hook","owner":{"login":"TWExchangeSolutions","id":11860511,"avatar_url":"https://avatars.githubusercontent.com/u/11860511?v=3","gravatar_id":"","url":"https://api.github.com/users/TWExchangeSolutions","html_url":"https://github.com/TWExchangeSolutions","followers_url":"https://api.github.com/users/TWExchangeSolutions/followers","following_url":"https://api.github.com/users/TWExchangeSolutions/following{/other_user}","gists_url":"https://api.github.com/users/TWExchangeSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/TWExchangeSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TWExchangeSolutions/subscriptions","organizations_url":"https://api.github.com/users/TWExchangeSolutions/orgs","repos_url":"https://api.github.com/users/TWExchangeSolutions/repos","events_url":"https://api.github.com/users/TWExchangeSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/TWExchangeSolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TWExchangeSolutions/jira-precommit-hook","description":"Git commit hook to verify commit messages are tagged with a JIRA issue number","fork":false,"url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook","forks_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/forks","keys_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/teams","hooks_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/hooks","issue_events_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/issues/events{/number}","events_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/events","assignees_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/assignees{/user}","branches_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/branches{/branch}","tags_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/tags","blobs_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/git/refs{/sha}","trees_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/statuses/{sha}","languages_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/languages","stargazers_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/stargazers","contributors_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/contributors","subscribers_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/subscribers","subscription_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/subscription","commits_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/commits{/sha}","git_commits_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/git/commits{/sha}","comments_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/comments{/number}","issue_comment_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/issues/comments{/number}","contents_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/contents/{+path}","compare_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/merges","archive_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/downloads","issues_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/issues{/number}","pulls_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls{/number}","milestones_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/milestones{/number}","notifications_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/labels{/name}","releases_url":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/releases{/id}","created_at":"2015-05-28T21:07:18Z","updated_at":"2015-05-28T21:20:03Z","pushed_at":"2015-09-03T18:51:12Z","git_url":"git://github.com/TWExchangeSolutions/jira-precommit-hook.git","ssh_url":"git@github.com:TWExchangeSolutions/jira-precommit-hook.git","clone_url":"https://github.com/TWExchangeSolutions/jira-precommit-hook.git","svn_url":"https://github.com/TWExchangeSolutions/jira-precommit-hook","homepage":"","size":452,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41"},"html":{"href":"https://github.com/TWExchangeSolutions/jira-precommit-hook/pull/41"},"issue":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/issues/41"},"comments":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/TWExchangeSolutions/jira-precommit-hook/statuses/24ab3c977d0b9a0a72ac4fee38565f03589ce6b2"}}}}