Changes between Initial Version and Version 1 of Ticket #10356, comment 14


Ignore:
Timestamp:
Jul 10, 2013, 4:48:34 PM (11 years ago)
Author:
Jun Omae
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10356, comment 14

    initial v1  
    11No failed on parsing Component elments with key error on description field. Seems that JIRA allows for some components to NOT have a description and the plugin chokes yet again:
     2{{{
    23DEBUG - 2013-07-10 12:38:15,763 - Start element: Component {'project': '10010', 'assigneetype': '0', 'id': '10000', 'lead': 'rfournier', 'name': 'Monthly Reports'}
    34Traceback (most recent call last):
     
    1314    'name': attrs['name'], 'description': attrs['description'],
    1415KeyError: 'description'
    15 
     16}}}
    1617Will add the try/except KeyError clause to handle this as well.