Changeset 352


Ignore:
Timestamp:
04/15/10 11:12:51 (11 years ago)
Author:
bas
Message:

Applied patch for ticket prefix enhancement, closes #195

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r350 r352  
    1414
    1515    Author: Bas van der Vlies
     16
     17  * Enhancement for ticket prefixes (email2trac.conf). The ticket
     18    fields status and resolution are not forbidden any more.
     19    Author: Konstantin Ryabitsev <icon add mricon dot com>
     20    Applied by: Bas van der Vlies
    1621
    17222010-03-20
  • trunk/email2trac.py.in

    r348 r352  
    843843                        name = field['name']
    844844
    845                         ## skip some fields like resolution
    846                         #
    847                         if name in [ 'resolution' ]:
    848                                 continue
    849 
    850845                        ## default trac value
    851846                        #
     
    883878                self.update_ticket_fields(ticket, user_dict, use_default=1)
    884879
    885                 ## Set status ticket
    886                 #
    887                 ticket['status'] = 'new'
     880                if 'status' not in user_dict.keys():
     881                        ticket['status'] = 'new'
    888882
    889883
Note: See TracChangeset for help on using the changeset viewer.