comparison src/plugins/plugin_tickets_import.py @ 2382:a49a19f06e38

plugin import ticket, import ticket bugzilla: some normalization in values: normalization (i.e. recommandations for importer to have similar values) has been done for some values: - "status" is now one of "queued", "started", "review", "closed" - "priority" and "severity" must be stripped and lower case
author Goffi <goffi@goffi.org>
date Mon, 16 Oct 2017 07:39:54 +0200
parents 95a41c5f67c0
children f57a8eaec8ed
comparison
equal deleted inserted replaced
2381:72c30e73a9a5 2382:a49a19f06e38
71 'product': product concerned by this ticket 71 'product': product concerned by this ticket
72 'component': part of the product concerned by this ticket 72 'component': part of the product concerned by this ticket
73 'version': version of the product/component concerned by this ticket 73 'version': version of the product/component concerned by this ticket
74 'platform': platform converned by this ticket 74 'platform': platform converned by this ticket
75 'os': operating system concerned by this ticket 75 'os': operating system concerned by this ticket
76 'status': current status of the ticket 76 'status': current status of the ticket, values:
77 - "queued": ticket is waiting
78 - "started": progress is ongoing
79 - "review": ticket is fixed and waiting for review
80 - "closed": ticket is finished or invalid
77 'milestone': target milestone for this ticket 81 'milestone': target milestone for this ticket
78 """ 82 """
79 if not 'schema' in session: 83 if not 'schema' in session:
80 session['schema'] = yield self._s.getSchemaForm(client, service, node or NS_TICKETS) 84 session['schema'] = yield self._s.getSchemaForm(client, service, node or NS_TICKETS)
81 defer.returnValue(item_import_data) 85 defer.returnValue(item_import_data)