How does one create a defect in RTC using screen display values rather than literals?
Is there a way to use the plain English values rather than RTC literals when creating a defect?
I'm creating an offline defect loader and get a spreadsheet of data from a testing team. They have a Priority column with values "1", "2", etc. and a Severity column with "High", "Medium", "Low" values - both of which are the values one sees in the RTC screens.
I'd like to be able to create a defect (WorkItem) using the plain English value rather than the RTC literal (see below) - so I don't have to maintain a mapping table ("1" -> "priority.literal.l01", etc.) for every field that they need to use for multiple project areas.
Is it possible?
<oslc_cm:priority rdf:resource="https://rtc:9443/jazz/oslc/enumerations/_gasc4Ju-Ed6cerS9lb5AWw/priority/priority.literal.l01"/>
<oslc_cm:severity rdf:resource="https://rtc:9443/jazz/oslc/enumerations/_gasc4Ju-Ed6cerS9lb5AWw/severity/severity.literal.l3"/>
<oslc_cm:priority rdf:resource="https://rtc:9443/jazz/oslc/enumerations/_gasc4Ju-Ed6cerS9lb5AWw/priority/1"/>
<oslc_cm:severity rdf:resource="https://rtc:9443/jazz/oslc/enumerations/_gasc4Ju-Ed6cerS9lb5AWw/severity/Medium"/>
Accepted answer
You have to look up the literals matching the display name. See https://rsjazz.wordpress.com/2012/08/20/manipulationg-work-item-enumeration-values/ or the similar code in code in A RTC WorkItem Command Line Version 3.0.