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

RTC project area work item enumerations - REST service

 Hi,


is there possible to manipulate with work item enumerations in some RTC project area with REST services? (e.g. creating, updating, deleting etc...).

I was searching on jazz.net, but I haven't found any related information.

Kind regards,
Milan

0 votes



One answer

Permanent link

You mean OSLC API, right? You should be able to as the Enumeration attribute is not that different from attributes of other types. You will need to first find out the resource URI for a particular Enumeration value though, as you cannot assign it using the literal value.

0 votes

Comments

 Hi Donald!


Yes, OSLC API.

Is there any example for GET, POST requests for this case or something similar...?

For example, when we use POST method, we are getting 405 (Method not allowed)

A service exists for this URL, but not in combination with the used HTTP method. <o:p> </o:p>


Kind regards,
Milan

If you talk about OSLC in general, please go through the OSLC workshop.
https://jazz.net/library/article/635

If you want to use POST or PUT against the enumerations themselves, I don't think such features are implemented, and that's why you get HTTP 405 errors.

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
× 12,025
× 7,503
× 102

Question asked: Feb 12 '18, 7:39 a.m.

Question was seen: 3,042 times

Last updated: Mar 12 '18, 10:42 p.m.

Confirmation Cancel Confirm