This is a small change to the current workflow, which makes sense in
most cases:
I can't see the reasons why a reporter would not accept a ticket that he
just created
and assigned to himself.
-- CB
Index: trac/Ticket.py
===================================================================
--- trac/Ticket.py (revision 923)
+++ trac/Ticket.py (working copy)
@@ -270,6 +270,11 @@
owner = cursor.fetchone()[0]
ticket['owner'] = owner
+ # "Auto-assign":
+ # The status will be set to 'assigned' if the reporter is also
the owner
+ if ticket['owner'] == ticket['reporter']:
+ ticket['status'] = 'assigned'
+
tktid = ticket.insert(self.db)
# Notify
most cases:
I can't see the reasons why a reporter would not accept a ticket that he
just created
and assigned to himself.
-- CB
Index: trac/Ticket.py
===================================================================
--- trac/Ticket.py (revision 923)
+++ trac/Ticket.py (working copy)
@@ -270,6 +270,11 @@
owner = cursor.fetchone()[0]
ticket['owner'] = owner
+ # "Auto-assign":
+ # The status will be set to 'assigned' if the reporter is also
the owner
+ if ticket['owner'] == ticket['reporter']:
+ ticket['status'] = 'assigned'
+
tktid = ticket.insert(self.db)
# Notify