Commits

John Bailey committed 54cf606

I think this will allow a canned response to change a ticket's milestone.

  • Participants
  • Parent commits 31979fb

Comments (0)

Files changed (1)

trac/cannedresponses/0.11/CannedResponsesPlugin/plugin.py

             if this_action['resolution']:
                updated['resolution'] = this_action['resolution']
 
+        if this_action.has_key('milestone'):
+            if this_action['milestone']:
+               updated['milestone'] = this_action['milestone']
+
         #for operation in this_action['operations']:
             #I can't think of any useful operations offhand!