01_map.txt

01_map.txt
// severity map which includes all possible values from original source
Map_Severity:
Mapping LOAD * INLINE [
    DetailedSeverity, GeneralSeverity
    blocker, Blocking
    blocking, Blocking
    critical, Critical
    enhancement, Low
    high, High
    major, High
    minor, Low
    normal, Low
    regression, Low
    trivial, Low
    low, Low
];
// status map which includes all possible values from original source
Map_Status:
Mapping LOAD * INLINE [
    DetailedStatus, GeneralStatus
    ASSIGNED, Open
	CLOSED, Closed
	NEEDINFO, Pending
	NEW, Open
	REJECTED, Closed
	REOPENED, Open
	RESOLVED, Closed
	VERIFIED, Open
	DEFERRED, Pending
	UNCONFIRMED, Pending
];
// reduced status map
Map_Dual_Status:
Mapping LOAD * INLINE [
	Open, 1
	Pending, 2
	Closed, 3
];
// reduced severity map
Map_Dual_Severity:
Mapping LOAD * INLINE [
	Low, 1
	High, 2
	Critical, 3
	Blocking, 4
];