Fog Creek Software
Discussion Board




Is it possible to...

Set up Fogbugz so that when a new defect is created, the notes field can have a template inserted such as:

System Information:

Processor: Pentium III 866mhz
Memory: 512Mb
HDD: 20Gb
Operating System: Windows 2000 Professional

Files & Versions:
AUM210.EXE v64 23/07/2002 @ 16:09
AXM325.EXE v61 27/11/2002 @ 15:30

What was being attempted:


What occurred:


Steps to reproduce:

1)


2)


3)

Being able to add something like this automatically will help enormously with lazy so and so's not adding the correct information when a defect is initially submitted.

Graeme Reynolds
Friday, December 13, 2002

It's definitely possible.  You'll have to modify the ASP source though (and then merge your changes when you upgrade) so you'll need to be somewhat knowledgeable as to writing ASP code.

In dlgbugediting.asp, look for <textarea...
You'll see a line

                        If QueryPageEmail(sCommand) Then

Add an else clause to that vb code that's basically:

Else
%>
<html template here>blah blah</htmltemplate>
<%
End If

Michael H. Pryor
Friday, December 13, 2002

OK, got that working, to a point.
However, I only want it to do this when the bug is first created, not every time it is edited, which is what happens at the moment

Is it possible to do that, or is a large amount of extra coding required?

Graeme Reynolds
Friday, December 20, 2002

Surround it with

If sCommand = "new" Then

End If

Michael H. Pryor
Friday, December 20, 2002

excellent. Thats sorted it.
Thanks

Graeme Reynolds
Friday, December 20, 2002

*  Recent Topics

*  Fog Creek Home