Redirect from plugin page to a custom URL filter - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com 2013-05-20T12:00:07Z http://fogbugz.stackexchange.com/feeds/question/10846 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://fogbugz.stackexchange.com/questions/10846/redirect-from-plugin-page-to-a-custom-url-filter Redirect from plugin page to a custom URL filter Ian 2012-10-05T20:26:49Z 2012-10-29T08:39:48Z <p>Hi,</p> <p>I am building a calendar plugin for FogBugz. One of the items displayed on the calendar is uncompleted milestones. When the user clicks on a milestone, I want to show all of the associated cases in the List Cases page. I would like to do this all from the URL (so I can throw it in an href) rather than saving a custom filter because then I have to hard-code the filter index. Something like the following would be great:</p> <p>http://[your_fogbugz]/default.asp?pgx=[something]&amp;ixFixFor=[ixFixFor]</p> <p>Is this possible? Thanks, Ian</p> http://fogbugz.stackexchange.com/questions/10846/redirect-from-plugin-page-to-a-custom-url-filter/10849#10849 Answer by Michel de Ruiter for Redirect from plugin page to a custom URL filter Michel de Ruiter 2012-10-08T07:17:07Z 2012-10-29T08:39:48Z <p>Above the cases list, click <strong>More</strong> then <strong>Permanent Link</strong>. It produces a filter URL like this:</p> <pre><code>&lt;yourserverurl&gt;/default.asp?pre=preSaveFilter&amp;fOpenBugs=ON&amp;ixProject=4&amp;ixFixFor=10&amp;sort1=-1&amp;sort2=-1&amp;sort3=-1&amp;fGridView=1&amp;sView=grid-outline&amp;iTypeOrder=1,29,2,23,4,22,6,7,16 </code></pre> <p>Just try it out!</p> <p>When you use 'search' instead of filtering, it looks like this:</p> <pre><code>&lt;yourserver&gt;/default.asp?pg=pgList&amp;searchFor=project%3a%22yourproject%22%20milestone%3a%22yourmilestone%22&amp;search=1 </code></pre> <p>Searching will not change your user filter.</p> <p>Use the <a href="http://fogbugz.stackexchange.com/fogbugz-xml-api" rel="nofollow">XML API</a> (with the <strong>cols</strong> <a href="http://blog.fogcreek.com/an-api-tutorial-plus-excel-2007-export-plus-zombies/" rel="nofollow">parameter</a>) to specify columns returned by a search.</p>