Feature Request: Remove relations (links) between cases - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com 2012-02-09T13:55:01Z http://fogbugz.stackexchange.com/feeds/question/1119 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://fogbugz.stackexchange.com/questions/1119/feature-request-remove-relations-links-between-cases Feature Request: Remove relations (links) between cases adambox 2009-12-17T19:41:26Z 2011-09-13T23:23:11Z <p>I have cases linked to my case in the <strong>see also</strong> section. I want to remove the links. How do I do it?</p> <p>One use case for removing a relation is using Case Event Edit to fix the text of a bugevent. When I incorrectly type in 'case x' where I meant to enter 'case y', If I then edit the post, It adds the new relation to y. I would assume the link to case x would be removed as well.</p> <blockquote> <p><img src="http://www.gravatar.com/avatar/baf927dcc0b0c5d0f41dece1e575aa0f?s=32&amp;d=identicon&amp;r=PG" alt="Fog Creek"> <a href="http://fogbugz.stackexchange.com/questions/1023/whats-that-kiwi-logo-and-case-number-at-the-bottom-of-my-feature-request" rel="nofollow">Case FC1259445</a></p> </blockquote> http://fogbugz.stackexchange.com/questions/1119/feature-request-remove-relations-links-between-cases/1120#1120 Answer by adambox for Feature Request: Remove relations (links) between cases adambox 2009-12-17T19:43:44Z 2011-05-16T12:42:56Z <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> <hr> <p>This is not changeable in the UI in FogBugz. For now, the only option is to remove the relevant rows from the <code>BugRelation</code> table directly in the database. This <a href="http://fogbugz.stackexchange.com/questions/1126/can-i-run-direct-sql-queries-against-my-fogbugz-on-demand-database" rel="nofollow">requires direct access</a> (i.e. locally installed FogBugz). Whenever you make changes directly in the database, make sure to <strong>back it up</strong> first.</p> <p>Note: adding and removing subcases to a case is possible. This answer concerns the <strong>see also</strong> links created when you type "case XYZ" into a case.</p> http://fogbugz.stackexchange.com/questions/1119/feature-request-remove-relations-links-between-cases/1143#1143 Answer by James McLeod for Feature Request: Remove relations (links) between cases James McLeod 2009-12-18T17:41:30Z 2011-09-13T23:23:11Z <p>A warning about modifying the database directly...</p> <p>I had to delete a cross-reference yesterday (I added an incorrect cross-reference to a case which had the potential to cause huge confusion). After I deleted the bad entry from the bugrelation table, I also deleted the corresponding event from the bugevent table. Unfortunately, this had been the last bugevent for the bug, and so FogBugz couldn't find the event corresponding to the ixBugEventLatest field in the bug table and refused to display it in any filters...</p> <p>I used this to look for other instances where I might have inadvertently deleted the last bugevent for a bug:</p> <pre><code>SELECT b.ixBug,MAX(ixBugEvent),b.ixBugEventLatest FROM bug b JOIN bugevent e ON b.ixBug = e.ixBug WHERE (SELECT MAX(x.ixBugEvent) FROM bugEvent x WHERE x.ixBug=e.ixBug) &lt;&gt; b.ixBugEventLatest GROUP BY e.ixBug; </code></pre> http://fogbugz.stackexchange.com/questions/1119/feature-request-remove-relations-links-between-cases/8221#8221 Answer by unknown (google) for Feature Request: Remove relations (links) between cases unknown (google) 2011-05-16T15:14:53Z 2011-05-16T15:14:53Z <p>James McLeod's answer presumes direct access to the database. Since my company uses the FogBugz service, I have no such access. Therefore, if this feature is not provided in the UI, then I have no ability to accomplish this. Well, I suppose I could pester the folks at FogBugz to do it manually. And maybe I should do that. After all, if they get enough 'manual' requests, then they'd more quickly develop the code that could be placed in the UI? Just a thought off the cuff.</p> <p>BTW, my initial request came from this use case: Edit a case and incorrectly type in 'case x' where I meant to enter 'case y'. Then edit the post, assuming that if I change the post from 'case x' to 'case y', that the link to case x would be replaced with a link to case y. It didn't work and that's how I came to find this stackexchange post.</p> http://fogbugz.stackexchange.com/questions/1119/feature-request-remove-relations-links-between-cases/8841#8841 Answer by Mike Dougherty for Feature Request: Remove relations (links) between cases Mike Dougherty 2011-07-21T18:17:45Z 2011-07-21T18:17:45Z <p>I too would like to have this feature. And on a related note, I would like some way to be able enter the word "case" followed by an number without FogBugz relating that comment to a case...</p> <p>The Use Case would be if my comment contained the phrase "Use Case #1...". Currently any comment I make on a case that uses that phrasing become associated to FogBugz case #1, 2, 3, 4, and so on. </p>