Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC WorkItem metdata retrieve using REST API

I'd like to retrieve metadata regarding the RTC workitems.
I use the REST API.
The most related information I've found appears in the following article:
"Open Services for Lifecycle Collaboration Core Specification Version 2.0 Appendix A: Common Properties"
(http://open-services.net/bin/view/Main/OSLCCoreSpecAppendixA)

So it seems that I need to find the ResourceShape and the Property resources but I still haven't found the way to retrieve it.

This metadata information is crucial for creation of new work items in order to fill the mandatory fields (with default values), get information regarding custom fields and more.

thanks.

0 votes



2 answers

Permanent link
I'd like to retrieve metadata regarding the RTC workitems.
I use the REST API.
The most related information I've found appears in the following article:
"Open Services for Lifecycle Collaboration Core Specification Version 2.0 Appendix A: Common Properties"
(http://open-services.net/bin/view/Main/OSLCCoreSpecAppendixA)

So it seems that I need to find the ResourceShape and the Property resources but I still haven't found the way to retrieve it.

This metadata information is crucial for creation of new work items in order to fill the mandatory fields (with default values), get information regarding custom fields and more.

thanks.


See Work Item 141451 Implement OSLC-CM v2 Resource Shapes

It does not support getting at shapes yet. You can get at a number of CM 2.0 defined properties directly, though whether they are required or valid choices is not available until shapes are supported.

0 votes


Permanent link
Steve,
Thanks for your quick reply.

What is your recommendation for creation of work items programmatically?
I mean what kind of logic can I implement in order to deal with mandatory fields, detection of custom fields and readonly fields (and probably other involved issues and restrictions that might fail the creation of the work item)?

Elad

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939

Question asked: Mar 09 '11, 12:07 p.m.

Question was seen: 5,277 times

Last updated: Mar 09 '11, 12:07 p.m.

Confirmation Cancel Confirm