Fossil SCM

update custom ticket wiki page

ron 2010-03-24 07:10 trunk
Commit 0c305be6c1c2323f529770302094d93d36194e2b
1 file changed +5 -1
--- www/custom_ticket.wiki
+++ www/custom_ticket.wiki
@@ -24,16 +24,19 @@
2424
<h2>Next add assignees</h2><blockquote>
2525
<p>
2626
Back to the "Tickets" admin page, and click "Common". Add something like this:
2727
<pre>
2828
set assigned_choices {
29
+ unassigned
2930
tom
3031
dick
3132
harriet
3233
}
3334
</pre>
34
-Obviously, choose names corresponding to the logins on your system.
35
+Obviously, choose names corresponding to the logins on your system. The
36
+'unassigned' entry is important, as it prevents you from having a NULL in that
37
+field (which causes problems later when editing).
3538
</p>
3639
</blockquote>
3740
3841
<h2>Now modify the 'new ticket' page</h2><blockquote>
3942
<p>
@@ -41,10 +44,11 @@
4144
more tricky. Edit the top part:
4245
<pre>
4346
if {[info exists submit]} {
4447
set status Open
4548
set opened_by $login
49
+ set assigned_to "unassigned"
4650
submit_ticket
4751
}
4852
</pre>
4953
Note the "set opened_by" bit -- that will automatically set the "opened_by"
5054
field to the login name of the bug reporter. Now, skip to the part with "EMail"
5155
--- www/custom_ticket.wiki
+++ www/custom_ticket.wiki
@@ -24,16 +24,19 @@
24 <h2>Next add assignees</h2><blockquote>
25 <p>
26 Back to the "Tickets" admin page, and click "Common". Add something like this:
27 <pre>
28 set assigned_choices {
 
29 tom
30 dick
31 harriet
32 }
33 </pre>
34 Obviously, choose names corresponding to the logins on your system.
 
 
35 </p>
36 </blockquote>
37
38 <h2>Now modify the 'new ticket' page</h2><blockquote>
39 <p>
@@ -41,10 +44,11 @@
41 more tricky. Edit the top part:
42 <pre>
43 if {[info exists submit]} {
44 set status Open
45 set opened_by $login
 
46 submit_ticket
47 }
48 </pre>
49 Note the "set opened_by" bit -- that will automatically set the "opened_by"
50 field to the login name of the bug reporter. Now, skip to the part with "EMail"
51
--- www/custom_ticket.wiki
+++ www/custom_ticket.wiki
@@ -24,16 +24,19 @@
24 <h2>Next add assignees</h2><blockquote>
25 <p>
26 Back to the "Tickets" admin page, and click "Common". Add something like this:
27 <pre>
28 set assigned_choices {
29 unassigned
30 tom
31 dick
32 harriet
33 }
34 </pre>
35 Obviously, choose names corresponding to the logins on your system. The
36 'unassigned' entry is important, as it prevents you from having a NULL in that
37 field (which causes problems later when editing).
38 </p>
39 </blockquote>
40
41 <h2>Now modify the 'new ticket' page</h2><blockquote>
42 <p>
@@ -41,10 +44,11 @@
44 more tricky. Edit the top part:
45 <pre>
46 if {[info exists submit]} {
47 set status Open
48 set opened_by $login
49 set assigned_to "unassigned"
50 submit_ticket
51 }
52 </pre>
53 Note the "set opened_by" bit -- that will automatically set the "opened_by"
54 field to the login name of the bug reporter. Now, skip to the part with "EMail"
55

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button