It's all about the answers!

Ask a question

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

Ishrat Mohammed (1312) | asked Feb 17 '14, 1:41 a.m.
edited Feb 20 '14, 5:26 a.m. by Sreerupa Sen (1.0k4)
 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..?


Accepted answer

permanent link
Donald Nong (14.5k414) | answered Feb 26 '14, 1:16 a.m.
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).

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.
Ishrat Mohammed selected this answer as the correct answer

Ishrat Mohammed commented Feb 26 '14, 8:00 p.m.

Thanks Donald.  

Your answer

Register or to post your answer.