How to programmatically add value to an Enumeration using REST..?
Ishrat Mohammed (13●1●2)
| asked Feb 17 '14, 1:41 a.m.
edited Feb 20 '14, 5:26 a.m. by Sreerupa Sen (1.0k●4)
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.
|
Accepted answer
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
|
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.