It's all about the answers!

Ask a question

How can I use External Value for Enumerations of Work Items attributes ?


Hiro Wada (26129) | asked Nov 07 '13, 12:14 a.m.
I can define External Value for Enumerations of Work Items attributes.

How can I display or export the external value ?

For example, enumeration "Priority" has the following literals, "Unassigned", "Low", "Medium", and "High"
I assigned external values Unassigned=0, Low=1, Medium=2, High=3.

Then I would like to display external values 0,1,2, and 3 not Unassigned, Low, Medium, and High
And export external values 0,1,2, and 3 not Unassigned, Low, Medium, and High to csv files.

Is it possible ?

The purpose for which you want to realize it, numbers are easier to treat in a spreadsheet than literal.

One answer



permanent link
Eric Jodet (6.3k5111120) | answered Nov 07 '13, 3:31 a.m.
JAZZ DEVELOPER
 Hello,
my understanding is that external values are to be used by clients like OSLC.
See https://jazz.net/library/article/1002 (go to "Enumeration Literals")
where you may find examples like:
<oslc:allowedValue rdf:resource="https://rtc:9443/ccm/oslc/enumerations/_FckdEKD8EeGCjPo2EBGANQ/complexity/10"/>
	

For your CSV export concern, I guess there is no magic solution here.
You can either export the Label or the internal value.
You may have to either change the priority label to numeric values,
or write a macro that will map labels to numeric values.

Thanks,
Eric

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.