{"id":127,"date":"2014-10-01T04:30:04","date_gmt":"2014-10-01T04:30:04","guid":{"rendered":"http:\/\/devzing.com\/blog\/?p=127"},"modified":"2015-09-21T02:11:13","modified_gmt":"2015-09-21T02:11:13","slug":"github-integration","status":"publish","type":"post","link":"https:\/\/devzing.com\/blog\/index.php\/github-integration\/","title":{"rendered":"Github Integration"},"content":{"rendered":"<p>This integration will allow you to use GetHub commit comments to update bugs<\/p>\n<p>This will cause any commit comments to be added to bugs references by the comment. E.g. the commit comment &#8220;This fixes bug 123&#8221; will cause &#8220;This fixes bug 123&#8221; to be added as a comment to bug 123.<\/p>\n<p>You must configure both Github and devZing to make this work.<\/p>\n<h2>Github configuration<\/h2>\n<p>To configure GitHub click Settings when viewing your repository<\/p>\n<p><a href=\"http:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2112.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-128\" src=\"\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2112-300x136.png\" alt=\"2014-09-30_2112\" width=\"300\" height=\"136\" srcset=\"https:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2112-300x136.png 300w, https:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2112.png 1004w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Click Webhooks &amp; Services<\/p>\n<p><a href=\"http:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2113.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-129\" src=\"\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2113-300x84.png\" alt=\"2014-09-30_2113\" width=\"300\" height=\"84\" srcset=\"https:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2113-300x84.png 300w, https:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2113.png 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Click Add Webhook<\/p>\n<p><a href=\"http:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2115.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-130\" src=\"\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2115-300x109.png\" alt=\"2014-09-30_2115\" width=\"300\" height=\"109\" srcset=\"https:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2115-300x109.png 300w, https:\/\/devzing.com\/blog\/wp-content\/uploads\/2014\/10\/2014-09-30_2115.png 997w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Fill in the Payload URL:<\/p>\n<ul>\n<li>If using the US datacenter use https:\/\/app.devzing.com\/&lt;account&gt;\/bugzilla\/extensions\/GithubWebhook\/<\/li>\n<li>If using the UK datacenter\u00a0https:\/\/uk-bz1.devzing.com\/&lt;account&gt;\/extensions\/GithubWebhook\/<\/li>\n<\/ul>\n<p>Content type can be either application\/json or application\/x-www-form-urlencoded<\/p>\n<p>Feel free to add a secret as we will be supporting this soon.<\/p>\n<p>Make sure you have selected &#8220;Just the push event&#8221; as other event types will be ignored.<\/p>\n<p>Then click Add Webhook to save your webhook.<\/p>\n<h2>devZing configuration<\/h2>\n<p>Next log into your devZing account and click &#8220;Manage Global Settings&#8221;<\/p>\n<p>In the &#8220;Github Integration&#8221; section select a Bugzilla user that will be used for the integration.<\/p>\n<p>Click Save.<\/p>\n<h2>Using<\/h2>\n<p>In daily use just include the keyword &#8220;bug&#8221; next to the Bugzilla defect ID you want to update in the commit message. Remember that the Github webhooks aren&#8217;t executed until you push your changes and that there can be several commits in a single push. Every commit message in a push will be evaluated so you can update 1 or 100 bugs in a single push.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This integration will allow you to use GetHub commit comments to update bugs This will cause any commit comments to be added to bugs references by the comment. E.g. the commit comment &#8220;This fixes bug 123&#8221; will cause &#8220;This fixes bug 123&#8221; to be added as a comment to bug 123. You must configure both &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/devzing.com\/blog\/index.php\/github-integration\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Github Integration&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-127","post","type-post","status-publish","format-standard","hentry","category-bugzilla","entry"],"_links":{"self":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":2,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/127\/revisions\/152"}],"wp:attachment":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}