comparison frontends/src/jp/cmd_ticket.py @ 2396:66baa687c682

plugins tickets import, jp (ticket/import): implemented mapping: - mapping is an option allowing do map imported field to a specific field in the newly created item - importers can now use complexe data types in options using JSON
author Goffi <goffi@goffi.org>
date Fri, 27 Oct 2017 17:58:05 +0200
parents 686f84ebb670
children 8b37a62336c3
comparison
equal deleted inserted replaced
2395:713cedc99752 2396:66baa687c682
22 from sat.core.i18n import _ 22 from sat.core.i18n import _
23 import json 23 import json
24 24
25 __commands__ = ["Ticket"] 25 __commands__ = ["Ticket"]
26 26
27 FIELDS_MAP = u'fields_map' 27 FIELDS_MAP = u'mapping'
28 28
29 29
30 class Import(base.CommandAnswering): 30 class Import(base.CommandAnswering):
31 # TODO: factorize with blog/import 31 # TODO: factorize with blog/import
32 32