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

How to programmatically add value to an Enumeration using REST..?

 Hi, We have a requirement to add a new enumeration value programmatically using REST API. we are using RTC 4.0.3

Any pointers are greatly appreciated..?

Thanks,
-Ishrat.

0 votes


Accepted answer

Permanent link
If you want to update a work item and change its attribute value which is an enumeration, it should be no different to other types of values. Take a look at the RTC work item API document (hint: Severity is an enumeration value).
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Update_a_Work_Item

If you want to add a new value to an enumeration definition, as in you are managing the project area, I don't think such API is exposed for use. But you can check out this document anyway.
https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi
Ishrat Mohammed selected this answer as the correct answer

0 votes

Comments

Thanks Donald.  

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
× 11,075
× 369

Question asked: Feb 17 '14, 1:41 a.m.

Question was seen: 6,755 times

Last updated: Feb 26 '14, 8:00 p.m.

Confirmation Cancel Confirm