{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/4","id":90039488,"html_url":"https://github.com/dagio/post-jira-comment-with-build-details-step/pull/4","diff_url":"https://github.com/dagio/post-jira-comment-with-build-details-step/pull/4.diff","patch_url":"https://github.com/dagio/post-jira-comment-with-build-details-step/pull/4.patch","issue_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/issues/4","number":4,"state":"open","locked":false,"title":"Post comment on PR build","user":{"login":"maciejmiarecki","id":15051229,"avatar_url":"https://avatars.githubusercontent.com/u/15051229?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejmiarecki","html_url":"https://github.com/maciejmiarecki","followers_url":"https://api.github.com/users/maciejmiarecki/followers","following_url":"https://api.github.com/users/maciejmiarecki/following{/other_user}","gists_url":"https://api.github.com/users/maciejmiarecki/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejmiarecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejmiarecki/subscriptions","organizations_url":"https://api.github.com/users/maciejmiarecki/orgs","repos_url":"https://api.github.com/users/maciejmiarecki/repos","events_url":"https://api.github.com/users/maciejmiarecki/events{/privacy}","received_events_url":"https://api.github.com/users/maciejmiarecki/received_events","type":"User","site_admin":false},"body":"Added possibility to enable posting comments for builds which was triggered by PR. All you need to do is to define _POST_JIRA_COMMENT_ON_PR_ environment variable and set its value to _true_. If this env var doesn't exist comment will be not posted on build triggered by PR.","created_at":"2016-10-19T15:57:54Z","updated_at":"2016-10-19T15:57:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/4/commits","review_comments_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/4/comments","review_comment_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/issues/4/comments","statuses_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/statuses/3a035780dcc8a52f9b1b763961cbe260d5614d50","head":{"label":"maciejmiarecki:master","ref":"master","sha":"3a035780dcc8a52f9b1b763961cbe260d5614d50","user":{"login":"maciejmiarecki","id":15051229,"avatar_url":"https://avatars.githubusercontent.com/u/15051229?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejmiarecki","html_url":"https://github.com/maciejmiarecki","followers_url":"https://api.github.com/users/maciejmiarecki/followers","following_url":"https://api.github.com/users/maciejmiarecki/following{/other_user}","gists_url":"https://api.github.com/users/maciejmiarecki/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejmiarecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejmiarecki/subscriptions","organizations_url":"https://api.github.com/users/maciejmiarecki/orgs","repos_url":"https://api.github.com/users/maciejmiarecki/repos","events_url":"https://api.github.com/users/maciejmiarecki/events{/privacy}","received_events_url":"https://api.github.com/users/maciejmiarecki/received_events","type":"User","site_admin":false},"repo":{"id":71373579,"name":"post-jira-comment-with-build-details-step","full_name":"maciejmiarecki/post-jira-comment-with-build-details-step","owner":{"login":"maciejmiarecki","id":15051229,"avatar_url":"https://avatars.githubusercontent.com/u/15051229?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejmiarecki","html_url":"https://github.com/maciejmiarecki","followers_url":"https://api.github.com/users/maciejmiarecki/followers","following_url":"https://api.github.com/users/maciejmiarecki/following{/other_user}","gists_url":"https://api.github.com/users/maciejmiarecki/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejmiarecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejmiarecki/subscriptions","organizations_url":"https://api.github.com/users/maciejmiarecki/orgs","repos_url":"https://api.github.com/users/maciejmiarecki/repos","events_url":"https://api.github.com/users/maciejmiarecki/events{/privacy}","received_events_url":"https://api.github.com/users/maciejmiarecki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maciejmiarecki/post-jira-comment-with-build-details-step","description":null,"fork":true,"url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step","forks_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/forks","keys_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/teams","hooks_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/hooks","issue_events_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/issues/events{/number}","events_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/events","assignees_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/assignees{/user}","branches_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/branches{/branch}","tags_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/tags","blobs_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/git/refs{/sha}","trees_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/statuses/{sha}","languages_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/languages","stargazers_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/stargazers","contributors_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/contributors","subscribers_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/subscribers","subscription_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/subscription","commits_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/commits{/sha}","git_commits_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/git/commits{/sha}","comments_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/comments{/number}","issue_comment_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/issues/comments{/number}","contents_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/contents/{+path}","compare_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/merges","archive_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/downloads","issues_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/issues{/number}","pulls_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/pulls{/number}","milestones_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/milestones{/number}","notifications_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/labels{/name}","releases_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/releases{/id}","deployments_url":"https://api.github.com/repos/maciejmiarecki/post-jira-comment-with-build-details-step/deployments","created_at":"2016-10-19T15:49:07Z","updated_at":"2016-10-19T15:49:08Z","pushed_at":"2016-10-19T15:51:18Z","git_url":"git://github.com/maciejmiarecki/post-jira-comment-with-build-details-step.git","ssh_url":"git@github.com:maciejmiarecki/post-jira-comment-with-build-details-step.git","clone_url":"https://github.com/maciejmiarecki/post-jira-comment-with-build-details-step.git","svn_url":"https://github.com/maciejmiarecki/post-jira-comment-with-build-details-step","homepage":null,"size":615,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"dagio:master","ref":"master","sha":"148fea0e92e8e23088ef2015347761dfaa05336f","user":{"login":"dagio","id":74581,"avatar_url":"https://avatars.githubusercontent.com/u/74581?v=3","gravatar_id":"","url":"https://api.github.com/users/dagio","html_url":"https://github.com/dagio","followers_url":"https://api.github.com/users/dagio/followers","following_url":"https://api.github.com/users/dagio/following{/other_user}","gists_url":"https://api.github.com/users/dagio/gists{/gist_id}","starred_url":"https://api.github.com/users/dagio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagio/subscriptions","organizations_url":"https://api.github.com/users/dagio/orgs","repos_url":"https://api.github.com/users/dagio/repos","events_url":"https://api.github.com/users/dagio/events{/privacy}","received_events_url":"https://api.github.com/users/dagio/received_events","type":"User","site_admin":false},"repo":{"id":54928713,"name":"post-jira-comment-with-build-details-step","full_name":"dagio/post-jira-comment-with-build-details-step","owner":{"login":"dagio","id":74581,"avatar_url":"https://avatars.githubusercontent.com/u/74581?v=3","gravatar_id":"","url":"https://api.github.com/users/dagio","html_url":"https://github.com/dagio","followers_url":"https://api.github.com/users/dagio/followers","following_url":"https://api.github.com/users/dagio/following{/other_user}","gists_url":"https://api.github.com/users/dagio/gists{/gist_id}","starred_url":"https://api.github.com/users/dagio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagio/subscriptions","organizations_url":"https://api.github.com/users/dagio/orgs","repos_url":"https://api.github.com/users/dagio/repos","events_url":"https://api.github.com/users/dagio/events{/privacy}","received_events_url":"https://api.github.com/users/dagio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dagio/post-jira-comment-with-build-details-step","description":null,"fork":false,"url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step","forks_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/forks","keys_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/teams","hooks_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/hooks","issue_events_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/issues/events{/number}","events_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/events","assignees_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/assignees{/user}","branches_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/branches{/branch}","tags_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/tags","blobs_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/git/refs{/sha}","trees_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/statuses/{sha}","languages_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/languages","stargazers_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/stargazers","contributors_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/contributors","subscribers_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/subscribers","subscription_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/subscription","commits_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/commits{/sha}","git_commits_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/git/commits{/sha}","comments_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/comments{/number}","issue_comment_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/issues/comments{/number}","contents_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/contents/{+path}","compare_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/merges","archive_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/downloads","issues_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/issues{/number}","pulls_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls{/number}","milestones_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/milestones{/number}","notifications_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/labels{/name}","releases_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/releases{/id}","deployments_url":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/deployments","created_at":"2016-03-28T22:42:31Z","updated_at":"2016-10-14T13:08:43Z","pushed_at":"2016-10-17T15:17:28Z","git_url":"git://github.com/dagio/post-jira-comment-with-build-details-step.git","ssh_url":"git@github.com:dagio/post-jira-comment-with-build-details-step.git","clone_url":"https://github.com/dagio/post-jira-comment-with-build-details-step.git","svn_url":"https://github.com/dagio/post-jira-comment-with-build-details-step","homepage":null,"size":615,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/4"},"html":{"href":"https://github.com/dagio/post-jira-comment-with-build-details-step/pull/4"},"issue":{"href":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/issues/4"},"comments":{"href":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/dagio/post-jira-comment-with-build-details-step/statuses/3a035780dcc8a52f9b1b763961cbe260d5614d50"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"maciejmiarecki"}}