How update RTC work item with enumeration list field by REST
![]()
Hello guys!
I found an unclear issue. I can not update an RTC work item which contains a multi value field created based on enumeration list attribute. If I use a single enumeration, for example priority, so I can do GET request to this work item and define a real value like to: <oslc_cm:priority rdf:resource="https://jazz.finecosoft.ru:9443/ccm/oslc/enumerations/_LbHV8FaWEeSZl8cZf7qI_w/priority/Critical"/> In this case, I know that I will use the value in "rdf:resource" attribute to change the field value. But what can I to do in case of multi value custom field. The value which I get with REST is like to: <rtc_cm:com.finecosoft.components.field oslc_cm:collref="https://jazz.finecosoft.ru:9443/ccm/oslc/enumerations/_LbHV8FaWEeSZl8cZf7qI_w/enumerationList$com.finecosoft.components.enum"/> I don't see the values which are set for this field. Please help me if it's possible to work with enumeration list by REST API. Thank you very much in advance! |
Accepted answer
![]()
Hi Dmitry,
From what I see you can use the Firebug to check how it works, see the post: https://jazz.net/forum/questions/135858/how-to-perform-particular-action-using-rest-api-in-clm-applications Best regards, Tad Dmitry A. Lesin selected this answer as the correct answer
Comments 1
Hi Tadeusz,
Hi Dmitry,
Hi Tad,
Response from server:
Current screenshot for the custom field:
Data Body:
We can see at the next screenshot that the enumeration list is actually updated!
I believe this info could help to everybody who needs the details of updating the enumeration list fields with HTTP requests!
showing 5 of 10
show 5 more comments
|