User david fullerton - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com 2012-02-09T04:44:04Z http://fogbugz.stackexchange.com/feeds/user/21 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://fogbugz.stackexchange.com/questions/137/cbugeventquery-setparamdate-ignoring-time/142#142 Answer by David Fullerton for CBugEventQuery.SetParamDate ignoring time? David Fullerton 2009-10-01T15:31:08Z 2010-07-18T14:56:00Z <p>This may be a time zone issue. All dates are stored in the database as UTC, but you're using <code>System.DateTime.Now</code> which could be in another time zone. Try using <code>System.DateTime.UtcNow</code> and see if that gives you different results.</p> http://fogbugz.stackexchange.com/questions/134/download-plug-ins-and-updates-directly-from-within-fogbugz/135#135 Answer by David Fullerton for Download Plug-ins and updates directly from within FogBugz David Fullerton 2009-09-30T16:58:00Z 2010-07-13T20:44:22Z <p>This is definitely something we wanted to do, we just didn't get to it before launch.</p> <p>We have a case open to consider this feature for a future release. Please up-vote this <em>question</em> (not this answer) to show your support for adding this feature.</p> http://fogbugz.stackexchange.com/questions/57/developer-license-for-fogbugz/58#58 Answer by David Fullerton for Developer license for FogBugz? David Fullerton 2009-09-16T15:35:37Z 2010-07-13T20:42:26Z <p><a href="https://developers.fogbugz.com/default.asp?W125" rel="nofollow">Our FogBugz Developer Wiki</a> says that On Demand customers can contact <a href="http://www.fogcreek.com/FogBugz/support.html" rel="nofollow">Fog Creek Customer Support</a> for a free developer license.</p> <p>If you are using the free Student and Startup Edition, the developer license pack is $20.</p> http://fogbugz.stackexchange.com/questions/2944/how-do-i-highlight-a-row-with-bugmonkey/2945#2945 Answer by David Fullerton for How do I highlight a row with BugMonkey? David Fullerton 2010-05-03T19:38:19Z 2010-05-03T19:38:19Z <p>You can't apply most styles to table rows - instead, you have to apply them to the table cells.</p> <pre><code>var ixBug = $("#Menu_Working_On").html().split(' ')[2]; $("tr[ix='" + ixBug + "']") .children('th,td').css('background-color', 'orange'); </code></pre> <p>or</p> <pre><code> .children('th,td').css('border-top', '2px dashed orange') .css('border-bottom', '2px dashed orange'); </code></pre> http://fogbugz.stackexchange.com/questions/484/feature-request-add-subcase-button-on-case-detail-view/502#502 Answer by David Fullerton for Feature Request - Add subcase button on case detail view David Fullerton 2009-10-26T16:45:51Z 2009-10-26T16:45:51Z <p>When you edit a case you can add subcases or set the parent case.</p> http://fogbugz.stackexchange.com/questions/411/what-do-i-do-when-fogbugz-tells-me-the-transaction-log-for-database-fogbugz-i/412#412 Answer by David Fullerton for What do I do when FogBugz tells me, "The transaction log for database 'fogbugz' is full"? David Fullerton 2009-10-19T20:31:37Z 2009-10-19T20:31:37Z <p>Have you tried changing the transaction log from Full to Simple?</p> <p><a href="http://stackoverflow.com/questions/996403/disable-transaction-log" rel="nofollow">http://stackoverflow.com/questions/996403/disable-transaction-log</a></p> http://fogbugz.stackexchange.com/questions/409/how-can-i-add-a-link-to-my-plugin-page-in-the-fogbugz-main-menu How can I add a link to my plugin page in the FogBugz main menu? David Fullerton 2009-10-19T15:42:46Z 2009-10-19T19:14:53Z <p>I see there are interfaces to add links to the <a href="https://developers.fogbugz.com/default.asp?W10" rel="nofollow">Extras</a>, <a href="https://developers.fogbugz.com/default.asp?W4" rel="nofollow">Admin</a>, and <a href="https://developers.fogbugz.com/default.asp?W30" rel="nofollow">My Settings</a> menus, but I don't see an interface to add a link to the main menu. How can I do this?</p> http://fogbugz.stackexchange.com/questions/409/how-can-i-add-a-link-to-my-plugin-page-in-the-fogbugz-main-menu/410#410 Answer by David Fullerton for How can I add a link to my plugin page in the FogBugz main menu? David Fullerton 2009-10-19T15:48:25Z 2009-10-19T19:14:53Z <p>Currently there is no interface exposed for this. You can do it via JavaScript, but be aware that this is an unsupported access and may break in the future.</p> <p>This JS adds a link to the right of the "Wiki" menu item at the top:</p> <pre><code>$(document).ready(function() { $('#Menu_Wiki').after('&lt;span&gt;&lt;a class="navlink" href="default.asp?pg=pgPlugin&amp;sPluginId=plugin@example.com"&gt;My Plugin&lt;/a&gt;&lt;/span&gt;') }); </code></pre> <p>This JS adds a link to the left of the "Working On" menu item at the top right:</p> <pre><code>$(document).ready(function() { $('#belowBanner').prepend('&lt;span&gt;&lt;a class="navlink" href="default.asp?pg=pgPlugin&amp;sPluginId=plugin@example.com"&gt;My Plugin&lt;/a&gt;&lt;/span&gt;') }); </code></pre> <p>This JS adds a link to the right of the "Help" link at the top right:</p> <pre><code>$(document).ready(function() { $('#Menu_Help').after(' | &lt;span&gt;&lt;a class="navlink" href="default.asp?pg=pgPlugin&amp;sPluginId=plugin@example.com"&gt;&lt;span class="dotted"&gt;My Plugin&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;') }); </code></pre> <p><strong>Edit</strong></p> <p>Remember that this is an unsupported access, and Fog Creek makes no guarantees about its support in future versions. We will not, however, ban plugins from the Plugin Gallery or FogBugz On Demand for using this method to add a link to the top menu.</p> <p>We do plan to add a supported interface for this in a future version.</p> <p><strong>Addendum</strong></p> <p>To make the script run on every page in FogBugz, use an interface like <a href="https://developers.fogbugz.com/default.asp?W21" rel="nofollow">IPluginStaticJS</a> to add a static JS file that is included on every page.</p> http://fogbugz.stackexchange.com/questions/334/are-previous-versions-of-fogbugz-available-for-download-somewhere/338#338 Answer by David Fullerton for Are previous versions of FogBugz available for download somewhere? David Fullerton 2009-10-15T15:45:16Z 2009-10-15T15:45:16Z <p>This is something we haven't quite gotten to yet. For now, send us an email via <a href="http://contact.fogcreek.com" rel="nofollow">http://contact.fogcreek.com</a> and include your order information (email / order id) and the version you need to download and we'll send you a link.</p> http://fogbugz.stackexchange.com/questions/207/french-locale-does-not-work-in-firefox/208#208 Answer by David Fullerton for French locale does not work in Firefox David Fullerton 2009-10-09T20:17:58Z 2009-10-09T20:17:58Z <p>The language comes from two locations:</p> <ul> <li><p>The <strong>Site Language</strong> determines certain site-wide things like category names, statuses, and the language that bug event notifications are stored in</p></li> <li><p>Your <strong>Personal Language</strong> determines what language the interface appears to you in, since you might have users with different language preferences. By default, your personal language is determined by the language your browser reports. In your case, IE is probably reporting French (France) as your language, but Firefox is reporting English. You can either fix it in the browser, or set it explicitly in FogBugz under <em>My Settings</em> | <em>Options</em></p></li> </ul> http://fogbugz.stackexchange.com/questions/196/feature-request-for-workflow-plug-in-universal-status-codes/201#201 Answer by David Fullerton for Feature Request for Workflow Plug-in: Universal Status codes. David Fullerton 2009-10-09T14:12:00Z 2009-10-09T14:12:00Z <p>If you search "status:mystatus", it will return all results with that status regardless of category. So if you have a bug status and a feature status called "mystatus", they will both be returned.</p> http://fogbugz.stackexchange.com/questions/175/cbug-hrsremainingdescendentsum-questions/178#178 Answer by David Fullerton for CBug.hrsRemainingDescendentSum questions David Fullerton 2009-10-08T18:31:42Z 2009-10-08T18:31:42Z <p>Looks like a pair of bugs. One, that the documentation is missing, and two, that we don't expose hrsRemaining. It's not something that should be hidden, so you can go ahead an use it.</p> <p>We calcalate hrsRemaining this way:</p> <pre><code>double remainingHours = Math.Max(0.0, myBug.hrsCurrEst- myBug.hrsElapsed) </code></pre> http://fogbugz.stackexchange.com/questions/174/formatting-of-estimates/177#177 Answer by David Fullerton for Formatting of estimates David Fullerton 2009-10-08T18:25:27Z 2009-10-08T18:25:27Z <p>There's no way to do this right now, but I've opened a feature request.</p> http://fogbugz.stackexchange.com/questions/168/under-what-circumstances-is-a-user-not-allowed-to-see-another-user/169#169 Answer by David Fullerton for Under what circumstances is a user not allowed to see another user? David Fullerton 2009-10-05T20:29:08Z 2009-10-05T20:29:08Z <p>It's pretty rare. Users can see each other if they share read permissions on any projects. So to make users that can't see each other, create a user that only has read permission on one project, and then have another (non-admin) user that cannot read that project.</p> http://fogbugz.stackexchange.com/questions/161/what-is-the-query-for-checking-bug-security/167#167 Answer by David Fullerton for What is the Query for checking Bug Security? David Fullerton 2009-10-05T12:51:31Z 2009-10-05T17:31:40Z <p>We give you the source code, so it's not exactly a secret :) It looks something like this:</p> <pre><code>WHERE Bug.ixProject IN (1, 2, 4, 5, 9, 11 .. ) </code></pre> <p>You can generate that list of projects using a CProjectQuery like so:</p> <pre><code>CProjectQuery query = api.Project.NewProjectQuery() query.ExcludeUnreadableWithin = true; int[] ids = query.ListIds(); </code></pre> <p>The unfortunately named <em>ExcludeUnreadableWithin</em> property means "don't include any projects within which I cannot read bugs". If what you're really after is writable, then use the <em>ExcludeUnwritableWithin</em> property.</p> <p><strong>Edit</strong></p> <p>These are not to be confused with <em>ExcludeUnreadable</em> and <em>ExcludeUnwritable</em>, which refer to the Project object itself, not Bugs within a project. For example,</p> <ul> <li><p>Modifying the project name (sProject) requires write permission on the <strong>Project</strong> because you must be an admin.</p></li> <li><p>Creating a bug in the project requires write permission <strong>within</strong> the project, not admin permissions</p></li> </ul> http://fogbugz.stackexchange.com/questions/158/is-there-a-way-to-set-the-id-element-of-a-control-created-with-forms-submitbutton/159#159 Answer by David Fullerton for Is there a way to set the id element of a control created with Forms.SubmitButton? David Fullerton 2009-10-02T21:01:41Z 2009-10-02T21:32:41Z <p>All those Forms methods can take a dictionary as the final parameter, which lets you set attributes. In your case you'd do something like this:</p> <pre><code>Hashtable attrs = new Hashtable(); attrs["id"] = "myid"; retVal.Append(Forms.SubmitButton(api.AddPluginPrefix("btnRefresh"), "Refresh", attrs)); </code></pre> http://fogbugz.stackexchange.com/questions/143/how-do-you-set-a-filter-for-cases-for-all-but-1-user/145#145 Answer by David Fullerton for How do you set a filter for cases for all but 1 user? David Fullerton 2009-10-01T18:33:14Z 2009-10-01T20:03:51Z <p>Use a negative search axis. You can add these to any filter by adding "Search for":</p> <p>-assignedto:"bob"</p> <p>-project:"foo"</p> <p>-category:"feature"</p> <p>-area:"undecided"</p> http://fogbugz.stackexchange.com/questions/93/change-my-cases-columns/96#96 Answer by David Fullerton for Change 'My Cases' columns? David Fullerton 2009-09-22T14:48:43Z 2009-09-22T14:48:43Z <p>You can't change the 'My Cases' filter, but you could load the filter, customize it, and then save your changes by clicking the 'Save Filter' link on the right. Column preferences are saved with a filter, so when you load your saved filter your columns will be restored.</p> http://fogbugz.stackexchange.com/questions/90/what-do-i-use-as-the-p4dtg-defect-tracking-source-server-address/91#91 Answer by David Fullerton for What do I use as the P4DTG defect tracking source server address? David Fullerton 2009-09-21T20:55:40Z 2009-09-21T20:55:40Z <p>That should be correct. I've never seen an error like that before -- it's definitely not one thrown by the FogBugz DTG plugin. Did you install the DTG plugin using setup downloaded from FogBugz? It should try to automatically fill in the URL for you.</p> http://fogbugz.stackexchange.com/questions/76/fogbugz-doesnt-return-site-working-schedule-sometimes/79#79 Answer by David Fullerton for FogBugz doesn't return site working schedule sometimes David Fullerton 2009-09-18T19:14:39Z 2009-09-18T19:22:26Z <p>I looked into it, and it looks like a bug on our end. It happens if the specified person has never edited their working schedule. In this case, it should load and return the site working schedule, but that doesn't seem to be happening.</p> http://fogbugz.stackexchange.com/questions/66/how-do-i-create-a-csv-exporting-url-with-a-filter/67#67 Answer by David Fullerton for How do I create a csv-exporting url with a filter? David Fullerton 2009-09-17T14:52:04Z 2009-09-17T17:44:30Z <p>As of version 1.2.1, you can append</p> <blockquote> <p>&amp;P<i>[ixPlugin]</i><code>_</code>ixFilter=<em>[ixFilter]</em></p> </blockquote> <p>to the URL, where <em>ixPlugin</em> is the plugin id (you can get it from the URL that it takes you to when you export a filter), and <em>ixFilter</em> is the filter id (you can get this from the URL of a filter). For example:</p> <blockquote> <p><a href="http://my.fogbugz.com/default.asp?pg=pgPluginBinary&amp;ixPlugin=1&amp;P1_ixFilter=4" rel="nofollow">http://my.fogbugz.com/default.asp?pg=pgPluginBinary&amp;ixPlugin=1&amp;P1_ixFilter=4</a></p> </blockquote> <p><Br/> <br/> You can also append a search string in version &lt;1.2.1:</p> <blockquote> <p>&amp;P<i>[ixPlugin]</i><code>_</code>sSearch=<em>[search]</em></p> </blockquote> <p>For example</p> <blockquote> <p><a href="http://my.fogbugz.com/default.asp?pg=pgPluginBinary&amp;ixPlugin=1&amp;P1_sSearch=assignedto%3a%22me%22" rel="nofollow">http://my.fogbugz.com/default.asp?pg=pgPluginBinary&amp;ixPlugin=1&amp;P1_sSearch=assignedto%3a%22me%22</a></p> </blockquote> http://fogbugz.stackexchange.com/questions/48/questions-button-on-this-site-seems-broken/50#50 Answer by David Fullerton for Questions button on this site seems broken. David Fullerton 2009-09-14T19:50:09Z 2009-09-14T19:50:09Z <p>Which tab on the right is highlighted when you click "Questions"? I believe it remembers the tab you last picked, so you might be stuck on "Featured", which has 0 questions.</p> http://fogbugz.stackexchange.com/questions/17/feature-request-allow-editing-case-notes-for-a-limited-window/38#38 Answer by David Fullerton for Feature Request: Allow editing case notes for a limited window David Fullerton 2009-09-11T14:53:52Z 2009-09-11T14:53:52Z <p>One problem with this is that email notifications need to be sent out in a timely manner. You probably don't want your incorrect text to get sent out to everyone subscribed to the case, but you also don't want to wait an hour for people to get the notification. Even waiting 5 minutes can put a damper on the conversation and make you walk down the hall to talk to the person rather than putting the data in FogBugz.</p> http://fogbugz.stackexchange.com/questions/22/how-can-i-monitor-the-fogbugz-maintenance-service/25#25 Answer by David Fullerton for How can I monitor the Fogbugz maintenance service? David Fullerton 2009-09-10T17:51:53Z 2009-09-11T14:39:32Z <p>If you don't mind giving your service database access, you could query </p> <pre><code>SELECT sValue FROM Setting WHERE sKey = 'dtLastHeartbeat' </code></pre> <p>If that date/time is greater than a few minutes ago, the maintenance service is not running correctly.</p> http://fogbugz.stackexchange.com/questions/485/fogbugz-incorrectly-saves-category-when-saving-cases-create-edit-for-certain-ca Comment by David Fullerton David Fullerton 2009-10-26T17:03:49Z 2009-10-26T17:03:49Z What version of FogBugz? There was a bug a couple releases ago where subcases would always inherit their parent case's category, even if you explicitly set a category for them. http://fogbugz.stackexchange.com/questions/497/xml-api-any-way-to-easily-specify-return-all-columns-with-a-search-command Comment by David Fullerton David Fullerton 2009-10-26T17:02:00Z 2009-10-26T17:02:00Z Currently this isn't possible, but I've opened a case for it http://fogbugz.stackexchange.com/questions/411/what-do-i-do-when-fogbugz-tells-me-the-transaction-log-for-database-fogbugz-i/412#412 Comment by David Fullerton David Fullerton 2009-10-19T21:58:58Z 2009-10-19T21:58:58Z I sent you an email to try to debug this further. http://fogbugz.stackexchange.com/questions/196/feature-request-for-workflow-plug-in-universal-status-codes/201#201 Comment by David Fullerton David Fullerton 2009-10-12T15:53:18Z 2009-10-12T15:53:18Z It does something like &quot;WHERE ixStatus IN (SELECT ixStatus FROM Status WHERE sStatus LIKE '%mystatus%') http://fogbugz.stackexchange.com/questions/66/how-do-i-create-a-csv-exporting-url-with-a-filter/67#67 Comment by David Fullerton David Fullerton 2009-09-29T13:56:44Z 2009-09-29T13:56:44Z Are you sure that filter is visible to you? I only see that error if I type in the number for another user's filter that isn't shared. http://fogbugz.stackexchange.com/questions/90/what-do-i-use-as-the-p4dtg-defect-tracking-source-server-address/91#91 Comment by David Fullerton David Fullerton 2009-09-21T23:27:20Z 2009-09-21T23:27:20Z Sorry, the terminology is confusing. There is both a plugin for FogBugz (the &quot;Perforce DTG Integration&quot; plugin), and a plugin for the DTG (the &quot;FogBugz DTG Plugin&quot;). Try reinstalling the latter via FogBugz under Admin &gt; Source Control. If that doesn't work call us (<a href="http://www.fogcreek.com/contact.html" rel="nofollow">fogcreek.com/contact.html</a>) and set up a time for a technical support call so we can use Copilot to try to figure out what's going on. http://fogbugz.stackexchange.com/questions/76/fogbugz-doesnt-return-site-working-schedule-sometimes/79#79 Comment by David Fullerton David Fullerton 2009-09-18T19:53:31Z 2009-09-18T19:53:31Z Yes, that's also possible if you've never edited the site working schedule. We'll get this fixed soon.