It's all about the answers!

Ask a question

[closed] How to set value of a work item attrobute of type 'Large HTML' using RTC API?

deepti harinkhede (2110) | asked Apr 05 '18, 3:31 a.m.
closed Apr 05 '18, 4:35 a.m. by Ralph Schoon (63.3k33646)


I need to set value to an attribute "Acceptance Criteria" which is of type "Large HTML". I have written below snippet:

IWorkItemCommon workItemCommon = getService(IWorkItemCommon.class);
IAttribute accCriteria= workItemCommon.findAttribute(projectArea,"", null); 
XMLString newChildAccCriteria = XMLString.createFromXMLText(wiConfig.accCriteria);

but I am getting error while setting the value (at setValue)


org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
at org.eclipse.core.runtime.Assert.isTrue(

at org.eclipse.core.runtime.Assert.isTrue(


Please let me know how to set value for Large HTML type using RTC API.

Thank you

The question has been closed for the following reason: "Duplicate Question" by rschoon Apr 05 '18, 4:35 a.m.