Fri, 03 Oct 2014 21:44:42 +0300
- when updating BT tickets, the note data must be cleared in order to not update all the tickets in the ticket. WTF is MantisBT smoking?
cobalt.py | file | annotate | diff | comparison | revisions |
--- a/cobalt.py Mon Sep 29 12:22:26 2014 +0300 +++ b/cobalt.py Fri Oct 03 21:44:42 2014 +0300 @@ -421,6 +421,9 @@ #done if need_update: + # We need to remove the note data, otherwise the ticket notes + # will get unnecessary updates. WTF, MantisBT? + ticket_data.notes = [] suds_client.service.mc_issue_update (g_config['trackeruser'], g_config['trackerpassword'], ticket_id, ticket_data) #fi