Fossil SCM
update custom ticket wiki page
Commit
0c305be6c1c2323f529770302094d93d36194e2b
Parent
504dc92ceb39768…
1 file changed
+5
-1
+5
-1
| --- www/custom_ticket.wiki | ||
| +++ www/custom_ticket.wiki | ||
| @@ -24,16 +24,19 @@ | ||
| 24 | 24 | <h2>Next add assignees</h2><blockquote> |
| 25 | 25 | <p> |
| 26 | 26 | Back to the "Tickets" admin page, and click "Common". Add something like this: |
| 27 | 27 | <pre> |
| 28 | 28 | set assigned_choices { |
| 29 | + unassigned | |
| 29 | 30 | tom |
| 30 | 31 | dick |
| 31 | 32 | harriet |
| 32 | 33 | } |
| 33 | 34 | </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). | |
| 35 | 38 | </p> |
| 36 | 39 | </blockquote> |
| 37 | 40 | |
| 38 | 41 | <h2>Now modify the 'new ticket' page</h2><blockquote> |
| 39 | 42 | <p> |
| @@ -41,10 +44,11 @@ | ||
| 41 | 44 | more tricky. Edit the top part: |
| 42 | 45 | <pre> |
| 43 | 46 | if {[info exists submit]} { |
| 44 | 47 | set status Open |
| 45 | 48 | set opened_by $login |
| 49 | + set assigned_to "unassigned" | |
| 46 | 50 | submit_ticket |
| 47 | 51 | } |
| 48 | 52 | </pre> |
| 49 | 53 | Note the "set opened_by" bit -- that will automatically set the "opened_by" |
| 50 | 54 | field to the login name of the bug reporter. Now, skip to the part with "EMail" |
| 51 | 55 |
| --- 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 |