{"action":"created","comment":{"url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/comments/228839141","pull_request_review_id":169195924,"id":228839141,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODgzOTE0MQ==","diff_hunk":"@@ -0,0 +1,86 @@\n+//# sourceURL=on-merge-req-created.js\n+'use strict';\n+//  Description\n+//\n+// This script work as a handler that checks if an issue is in in progress status.","path":"scripts/on-merge-req-updated.js","position":null,"original_position":5,"commit_id":"1be284effdaf364e7f7469d3eb1e0d9b86fc67bc","original_commit_id":"ce4fdb7ffe630b7ce486a43b1038817ebbe608d8","user":{"login":"adokaeva","id":13582157,"node_id":"MDQ6VXNlcjEzNTgyMTU3","avatar_url":"https://avatars0.githubusercontent.com/u/13582157?v=4","gravatar_id":"","url":"https://api.github.com/users/adokaeva","html_url":"https://github.com/adokaeva","followers_url":"https://api.github.com/users/adokaeva/followers","following_url":"https://api.github.com/users/adokaeva/following{/other_user}","gists_url":"https://api.github.com/users/adokaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/adokaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adokaeva/subscriptions","organizations_url":"https://api.github.com/users/adokaeva/orgs","repos_url":"https://api.github.com/users/adokaeva/repos","events_url":"https://api.github.com/users/adokaeva/events{/privacy}","received_events_url":"https://api.github.com/users/adokaeva/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-10-29T08:53:36Z","updated_at":"2018-10-29T08:53:36Z","html_url":"https://github.com/BigBrassBand/jira-git-workflow-hooks/pull/3#discussion_r228839141","pull_request_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/comments/228839141"},"html":{"href":"https://github.com/BigBrassBand/jira-git-workflow-hooks/pull/3#discussion_r228839141"},"pull_request":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3"}},"in_reply_to_id":228483479},"pull_request":{"url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3","id":223203052,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMjAzMDUy","html_url":"https://github.com/BigBrassBand/jira-git-workflow-hooks/pull/3","diff_url":"https://github.com/BigBrassBand/jira-git-workflow-hooks/pull/3.diff","patch_url":"https://github.com/BigBrassBand/jira-git-workflow-hooks/pull/3.patch","issue_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/issues/3","number":3,"state":"open","locked":false,"title":"GIT-3005:Merge request merged -> transition an issue script was imple…","user":{"login":"adokaeva","id":13582157,"node_id":"MDQ6VXNlcjEzNTgyMTU3","avatar_url":"https://avatars0.githubusercontent.com/u/13582157?v=4","gravatar_id":"","url":"https://api.github.com/users/adokaeva","html_url":"https://github.com/adokaeva","followers_url":"https://api.github.com/users/adokaeva/followers","following_url":"https://api.github.com/users/adokaeva/following{/other_user}","gists_url":"https://api.github.com/users/adokaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/adokaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adokaeva/subscriptions","organizations_url":"https://api.github.com/users/adokaeva/orgs","repos_url":"https://api.github.com/users/adokaeva/repos","events_url":"https://api.github.com/users/adokaeva/events{/privacy}","received_events_url":"https://api.github.com/users/adokaeva/received_events","type":"User","site_admin":false},"body":"Script was implemented in suggestion that JIRA Issue Key is present in merge request title.\r\nFirst issue's key from merge/pull request title will be taken as issue for transition.\r\nIssue's status will be changed on behalf of issue's assignee.\r\n\r\nPlease, take into account that Fix version retains empty.","created_at":"2018-10-16T10:52:47Z","updated_at":"2018-10-29T08:53:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3df46a8c9b3992212c845a8a5e96006e4f1ff055","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3/commits","review_comments_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3/comments","review_comment_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/issues/3/comments","statuses_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/statuses/1be284effdaf364e7f7469d3eb1e0d9b86fc67bc","head":{"label":"adokaeva:GIT-3005","ref":"GIT-3005","sha":"1be284effdaf364e7f7469d3eb1e0d9b86fc67bc","user":{"login":"adokaeva","id":13582157,"node_id":"MDQ6VXNlcjEzNTgyMTU3","avatar_url":"https://avatars0.githubusercontent.com/u/13582157?v=4","gravatar_id":"","url":"https://api.github.com/users/adokaeva","html_url":"https://github.com/adokaeva","followers_url":"https://api.github.com/users/adokaeva/followers","following_url":"https://api.github.com/users/adokaeva/following{/other_user}","gists_url":"https://api.github.com/users/adokaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/adokaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adokaeva/subscriptions","organizations_url":"https://api.github.com/users/adokaeva/orgs","repos_url":"https://api.github.com/users/adokaeva/repos","events_url":"https://api.github.com/users/adokaeva/events{/privacy}","received_events_url":"https://api.github.com/users/adokaeva/received_events","type":"User","site_admin":false},"repo":{"id":153261754,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMyNjE3NTQ=","name":"jira-git-workflow-hooks","full_name":"adokaeva/jira-git-workflow-hooks","private":false,"owner":{"login":"adokaeva","id":13582157,"node_id":"MDQ6VXNlcjEzNTgyMTU3","avatar_url":"https://avatars0.githubusercontent.com/u/13582157?v=4","gravatar_id":"","url":"https://api.github.com/users/adokaeva","html_url":"https://github.com/adokaeva","followers_url":"https://api.github.com/users/adokaeva/followers","following_url":"https://api.github.com/users/adokaeva/following{/other_user}","gists_url":"https://api.github.com/users/adokaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/adokaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adokaeva/subscriptions","organizations_url":"https://api.github.com/users/adokaeva/orgs","repos_url":"https://api.github.com/users/adokaeva/repos","events_url":"https://api.github.com/users/adokaeva/events{/privacy}","received_events_url":"https://api.github.com/users/adokaeva/received_events","type":"User","site_admin":false},"html_url":"https://github.com/adokaeva/jira-git-workflow-hooks","description":"Git Integration for Jira JavaScript Hooks","fork":true,"url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks","forks_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/forks","keys_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/teams","hooks_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/hooks","issue_events_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/events","assignees_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/tags","blobs_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/languages","stargazers_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/stargazers","contributors_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/contributors","subscribers_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/subscribers","subscription_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/subscription","commits_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/merges","archive_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/downloads","issues_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/labels{/name}","releases_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/adokaeva/jira-git-workflow-hooks/deployments","created_at":"2018-10-16T09:48:14Z","updated_at":"2018-10-16T09:48:16Z","pushed_at":"2018-10-29T08:52:57Z","git_url":"git://github.com/adokaeva/jira-git-workflow-hooks.git","ssh_url":"git@github.com:adokaeva/jira-git-workflow-hooks.git","clone_url":"https://github.com/adokaeva/jira-git-workflow-hooks.git","svn_url":"https://github.com/adokaeva/jira-git-workflow-hooks","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BigBrassBand:master","ref":"master","sha":"92bddd6855bfcc843a94905460a386ffbe457661","user":{"login":"BigBrassBand","id":4586374,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODYzNzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4586374?v=4","gravatar_id":"","url":"https://api.github.com/users/BigBrassBand","html_url":"https://github.com/BigBrassBand","followers_url":"https://api.github.com/users/BigBrassBand/followers","following_url":"https://api.github.com/users/BigBrassBand/following{/other_user}","gists_url":"https://api.github.com/users/BigBrassBand/gists{/gist_id}","starred_url":"https://api.github.com/users/BigBrassBand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigBrassBand/subscriptions","organizations_url":"https://api.github.com/users/BigBrassBand/orgs","repos_url":"https://api.github.com/users/BigBrassBand/repos","events_url":"https://api.github.com/users/BigBrassBand/events{/privacy}","received_events_url":"https://api.github.com/users/BigBrassBand/received_events","type":"Organization","site_admin":false},"repo":{"id":149831912,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk4MzE5MTI=","name":"jira-git-workflow-hooks","full_name":"BigBrassBand/jira-git-workflow-hooks","private":false,"owner":{"login":"BigBrassBand","id":4586374,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODYzNzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4586374?v=4","gravatar_id":"","url":"https://api.github.com/users/BigBrassBand","html_url":"https://github.com/BigBrassBand","followers_url":"https://api.github.com/users/BigBrassBand/followers","following_url":"https://api.github.com/users/BigBrassBand/following{/other_user}","gists_url":"https://api.github.com/users/BigBrassBand/gists{/gist_id}","starred_url":"https://api.github.com/users/BigBrassBand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigBrassBand/subscriptions","organizations_url":"https://api.github.com/users/BigBrassBand/orgs","repos_url":"https://api.github.com/users/BigBrassBand/repos","events_url":"https://api.github.com/users/BigBrassBand/events{/privacy}","received_events_url":"https://api.github.com/users/BigBrassBand/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BigBrassBand/jira-git-workflow-hooks","description":"Git Integration for Jira JavaScript Hooks","fork":false,"url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks","forks_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/forks","keys_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/teams","hooks_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/hooks","issue_events_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/events","assignees_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/tags","blobs_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/languages","stargazers_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/stargazers","contributors_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/contributors","subscribers_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/subscribers","subscription_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/subscription","commits_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/merges","archive_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/downloads","issues_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/labels{/name}","releases_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/deployments","created_at":"2018-09-22T00:27:50Z","updated_at":"2018-09-22T00:30:10Z","pushed_at":"2018-10-29T08:52:58Z","git_url":"git://github.com/BigBrassBand/jira-git-workflow-hooks.git","ssh_url":"git@github.com:BigBrassBand/jira-git-workflow-hooks.git","clone_url":"https://github.com/BigBrassBand/jira-git-workflow-hooks.git","svn_url":"https://github.com/BigBrassBand/jira-git-workflow-hooks","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":2,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3"},"html":{"href":"https://github.com/BigBrassBand/jira-git-workflow-hooks/pull/3"},"issue":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/issues/3"},"comments":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/BigBrassBand/jira-git-workflow-hooks/statuses/1be284effdaf364e7f7469d3eb1e0d9b86fc67bc"}},"author_association":"NONE"}}
{"actor":{"display_login":"adokaeva"}}