URL Trigger: Integrate with virtually any outside system - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com 2013-05-18T15:04:26Z http://fogbugz.stackexchange.com/feeds/question/6183 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://fogbugz.stackexchange.com/questions/6183/url-trigger-integrate-with-virtually-any-outside-system URL Trigger: Integrate with virtually any outside system FogBugz FAQ 2010-12-03T19:03:31Z 2013-04-28T20:09:06Z <p>The <a href="http://www.fogcreek.com/FogBugz/Plugins/plugin.aspx?ixPlugin=5" rel="nofollow">URL Trigger plug-in</a> can integrate with pretty much any system you have.</p> http://fogbugz.stackexchange.com/questions/6183/url-trigger-integrate-with-virtually-any-outside-system/10697#10697 Answer by Quentin Schroeder for URL Trigger: Integrate with virtually any outside system Quentin Schroeder 2012-08-09T21:56:13Z 2013-01-24T15:16:27Z <p>The URL Trigger Plugin allows you to specify an HTTP request to be sent to a specific URL when events occur in FogBugz. To create a URLTrigger, select one or more events that your trigger will respond to, then add values to the URL querystring using a list of variables presented by the plugin.</p> <p>To get started, first make sure you have the URL Trigger Plugin installed. If FogBugz runs on your server, upload the zip file on the <strong>Admin -> Plugins</strong> page. If you use FogBugz On Demand, go to <strong>Admin -> Plugins -> View All Plugins</strong> and enable it there.</p> <p>Once it is installed, it will be available as an option in the <strong>Admin</strong> menu next to your name. From the URL Trigger page, you'll be able to create and edit custom URL triggers, import or export triggers and view the log of trigger activity.</p> <p>To create a trigger, click <strong>Add New Trigger</strong> and specify the following:</p> <h3>Event Types</h3> <p>You can create triggers which fire on any of the following event types:</p> <ul> <li><strong>Case Events</strong>: status changes, edits, assignments, email events</li> <li><strong>Discuss Topic Events</strong>: discussion thread creation, discussion post creation</li> <li><strong>Source Control Events</strong>: source control commits</li> <li><strong>Wiki Events</strong>: wiki page creation, wiki page edits</li> <li><strong>Time Tracking Events</strong>: time interval creation, edits, and deletion</li> </ul> <p><img src="http://our.fogbugz.com/default.asp?pg=pgDownload&amp;pgType=pgWikiAttachment&amp;ixAttachment=217672&amp;sFileName=URLTrigger01.png" alt="new trigger"></p> <h3>URL With Parameters</h3> <p>Once you've subscribed to a set of events, you can specify the URL to which the request will be sent, and attach one or more variables provided by those events to the querystring. The list of available variables will change dynamically depending on which events you've selected.</p> <p><img src="http://our.fogbugz.com/default.asp?pg=pgDownload&amp;pgType=pgWikiAttachment&amp;ixAttachment=217673&amp;sFileName=URLTrigger02.png" alt="payload fields"></p> <h3>Filter Criteria</h3> <p>If you'd only like a request to be sent if a certain set of conditions are met, you can also choose to apply a filter, a logical expression containing one or more variables. A request will only be sent if the logical expression evulates to TRUE.</p> <p><img src="http://our.fogbugz.com/default.asp?pg=pgDownload&amp;pgType=pgWikiAttachment&amp;ixAttachment=217674&amp;sFileName=URLTrigger03.png" alt="filter"></p> <p>Usage scenarios of this plugin are discussed at <a href="http://fogbugz.stackexchange.com/questions/36/what-would-be-a-typical-usage-scenario-for-the-urltrigger-plugin" rel="nofollow">http://fogbugz.stackexchange.com/questions/36/what-would-be-a-typical-usage-scenario-for-the-urltrigger-plugin</a></p> http://fogbugz.stackexchange.com/questions/6183/url-trigger-integrate-with-virtually-any-outside-system/11097#11097 Answer by Pavo for URL Trigger: Integrate with virtually any outside system Pavo 2013-02-04T20:54:55Z 2013-02-04T20:54:55Z <p>Could you suggest me a way to configure the trigger to work with PagerDuty restful api? <a href="http://developer.pagerduty.com/documentation/integration/events/trigger" rel="nofollow">http://developer.pagerduty.com/documentation/integration/events/trigger</a></p> http://fogbugz.stackexchange.com/questions/6183/url-trigger-integrate-with-virtually-any-outside-system/11283#11283 Answer by Danny Rosen for URL Trigger: Integrate with virtually any outside system Danny Rosen 2013-04-28T19:57:05Z 2013-04-28T20:09:06Z <p>I wrote a nifty server in bottle to work with the URL trigger.</p> <p>It's available here: <a href="https://github.com/dannyzen/lighthouse/" rel="nofollow">https://github.com/dannyzen/lighthouse/</a></p>