It's all about the answers!

Ask a question

How do I find enumerations/Category rdf:resource via OSLC?

Takehiko Amano (1.3k3741) | asked Jun 29 '10, 10:04 p.m.

I'm trying to create batch processing of WI creation and modification. I'm aware of import tools, but this is custom application so to speak.

To be able to create WI, we need to know rdf:resource URL for enumerations and Category like:

For enumerations (e.g. priority)
<oslc_cm:priority rdf:resource="https://rtc:9443/jazz/oslc/enumerations/_gasc4Ju-Ed6cerS9lb5AWw/priority/priority.literal.l01"/>

For Category (e.g. filedAgainst)
<rtc_cm:filedAgainst rdf:resource="https://rtc:9443/jazz/resource/itemOid/"/>

Suppose, user would like to create the following table

Priority FiledAgainst Summary Description
-------- -------------- ---------- --------------
High CompA SummaryA DescriptionA
Normal CompB SummaryB DescriptionB

Utility needs to convert each line into .json or .xml representation of WI to create, and then post it to Jazz server. Simple text is OK. We can send it as is (with small modification like change CRLF to </BR>). However, we need to know in advance about rdf:resource for enumerations and Category. How do I retrieve these information through OSLC only ?

Thanks !

One answer

permanent link
Sean G Wilbur (87212421) | answered Aug 20 '10, 1:04 p.m.

I've been having the same issue, I can make it work but I can't seem to find a way to discover what enumerations are present, so this method requires that you have the id of the enumeration and can find the ItemID of the project area.


So something like this:

Gets you, which sounds like what you need to get started:


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.