2

I have commented on a case by clicking on the "Edit" link and entering my text in the field. Afterwards I realized I made a mistake and I want to change the text I wrote.

I realize that I can click on "Edit" and add another comment in which I'm explaining my mistake and commenting on the old comment and why and what was wrong in my old comment. But that seems really cumbersome to me and in addition it adds to the amount of text everybody has to read.

I want to edit the text I wrote. Anyone know how to do this?

flag

2 Answers

2

You really can't do this in FogBugz without mucking about in the DB directly.

This is by design so that you "can't change history," which is part of the philosophy of bug tracking built into the system by Fog Creek.

You can now do this natively with the built-in Case Event edit plug-in.

However, there clearly are situations where it is nice to be able to fix mistakes or deal with situations where you updated the wrong case. I wrote the FB Scratchout plugin to address this which you can download here.

It doesn't let you actually edit or delete comments, but does let you mark them as deprecated and either hide them or display them with a strikethrough effect.

It is nice because it lets you avoid chains like this in the bug history...

I fixed this bug by adding a new class to the project.

(and later)

Oops! That was meant for case 123, not this one, ignore the previous entry everyone!

link|flag
This sounds great. Is it possible to detect 'deprecated' comment via XML API? – Peter Štibraný Dec 9 2009 at 17:10
The "deprecated" status is stored in a plug-in specific table in the DB, but I don't think it is available via the standard XML API. If you forsee the need for a new XML API to check whether a case is deprecated I could add it to the feature list for the plug-in, just let me know. – JohnFx Dec 9 2009 at 21:48
John, Scratchout should end its IMG tags with /> instead of just >, to make the html valid xhtml. – Michel de Ruiter May 25 2010 at 11:08
@Michel: Thanks for pointing out the mistake. I've got a new version just about to go out. I'll fix that in the update. – JohnFx May 25 2010 at 14:09
1

There is now a Case Event Edit plugin that will allow you to do this.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.