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

RTC attributes OSLC URI/URLs

 We are using RTC 6.0.2 and want a list of all the values for the following attributes using OSLC URI:


Filed Against
Planned For
Found In 

This will enable us to modify or update these attributes using java script.

1

0 votes

Comments

What exactly are you asking for? Do you want to use Java or JavaScript? Are you going to use OSLC (which usually does not involve JavaScript)? Do you want to get the ID/URI of the attributes, or the existing values of these attributes? Please explain your use case in details.

 Hi Donald,


I'm sorry, yes we want to use Java and not javascript. Yes, we'd be using OSLC. We want the URI for these attributes which can list all the values under specific attribute.

we are trying to update the team filed Against using java code for a workitem. where the {\"rtc_cm:filedAgainst\":{\"rdf:resource\":\"https://localhost:9999/ccm/resource/itemOid/com.ibm.team.workitem.Category/_xxxxxxxxxxxxxxxxx\"}} required an uri value (https://localhost:9999/ccm/resource/itemOid/com.ibm.team.workitem.Category/_xxxxxxxxxxxxxxxxx) to update for workitem from the the available list of teamfiledAgainst values in RTC. We are looking for an operation/URI where it will help us to know the complete list of URI for the available list of attribute values present in team filed against column.



One answer

Permanent link

I assume you're familiar with RTC OSLC API already. Otherwise, start with this article.
https://jazz.net/library/article/1001

In the Service Provider document of a given project area, you will have Creation Factory for each work item type. Within the Creation Factory, you should see a Resource Shape. Retrieve the Resource Shape and you should see all the attribute definitions and their allowed values. For enumerations, you need an extra step to get the literal value by accessing the Allowed Value resource.

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,938

Question asked: Feb 20 '17, 6:02 a.m.

Question was seen: 1,986 times

Last updated: Feb 21 '17, 7:41 p.m.

Confirmation Cancel Confirm