Kiln and FogBugz - Doing tasks on commit - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com2013-05-24T13:41:52Zhttp://fogbugz.stackexchange.com/feeds/question/10719http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://fogbugz.stackexchange.com/questions/10719/kiln-and-fogbugz-doing-tasks-on-commitKiln and FogBugz - Doing tasks on commitsascha2012-08-17T07:34:42Z2013-05-03T18:22:00Z
<p>Did not find any similar question or possibility to do that. I know this feature from another mercurial hosting service.</p>
<p>It would be very nice to be able to change the status of a case/bug by commit message.</p>
<p>For Example: I would like to add the following to the commit message:</p>
<p>#solve case 123 : blabla</p>
<p>to automatically change the status of case 123 to resolved</p>
<p>would this be possible?</p>
<p>Thanks</p>
http://fogbugz.stackexchange.com/questions/10719/kiln-and-fogbugz-doing-tasks-on-commit/10720#10720Answer by db for Kiln and FogBugz - Doing tasks on commitdb2012-08-17T14:33:11Z2012-08-17T14:33:11Z<p>Such functionality is not currently provided by FogBugz or Kiln out-of-the-box.</p>
<p>However, via <a href="https://developers.fogbugz.com/default.asp?W37" rel="nofollow">FogBugz' Plugin API</a> and <a href="http://kiln.stackexchange.com/questions/952/does-kiln-support-web-hooks" rel="nofollow">Kiln's Web Hooks</a> you could create something that does:</p>
<ol>
<li>Create a FogBugz plugin that can process commit messages and modify case statuses depending on what the commit message says (i.e., extract the case id and command from the commit message, and then perform the appropriate action on the case in FogBugz)</li>
<li>Configure a Web Hook in Kiln to make requests to this Plugin after each commit</li>
</ol>
<p>The FogBugz Plugin could leverage the <a href="https://developers.fogbugz.com/default.asp?W60" rel="nofollow">IPluginRawPageDisplay interface</a> to create the endpoint that the Kiln Web Hook would send post-commit events to.</p>