I looked in the file trac/ticket/templates/ticket.html (see code
snippet below) where it looks like I could uncomment a few lines to
also show the "actions" when creating a new ticket.
My question is then: Will this mess up any internal database state if
I set the ticket state upon creation or would this be safe to do?
Regards,
Jesper
<!--! Workflow support -->
<py:if test="ticket.exists"> <!--! do not display the
actions for New tickets -->
<py:choose>
<fieldset py:when="can_append or can_modify"
id="action">
<legend>Action</legend>
<div py:for="key, label, controls, hints in
action_controls">
<input type="radio" id="action_$key"
name="action" value="$key"
checked="${key == action or None}" />
<label for="action_$key">$label</label>
$controls
<span class="hint" py:for="hint in hints">$hint</
span>
</div>
</fieldset>
<py:otherwise>
<py:for each="key, label, controls, hints in
action_controls">
<input py:if="key == action" type="hidden"
name="action" value="$action" />
</py:for>
</py:otherwise>
</py:choose>