I want to set acceptance criteria for a Story in RTC through Java API. I do not see any options on work item to set it. Let me know what is the best way to set the value.
acceptance criteria is a field..
you need to get the attribute handle for the Acceptance Criteria field
IAttribute ata = workItemCommon.findAttribute(projectArea,
"com.ibm.team.apt.attribute.acceptance", monitor);
workItem.setValue(ata, value)
( working copy of course)
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.
Paste the content from Word into the text box below. Once you are satisfied with the content to insert, press the paste button. To abort inserting text, press the cancel button.
●Paste●Cancel
Insert Image
Enter an image URL or browse to a local file. (2.5Mb max size; .jpg, .jpeg, .gif, .png file types supported).
Comments
sam detweiler
Apr 15 '14, 1:41 p.m.acceptance criteria is a field..
you need to get the attribute handle for the Acceptance Criteria field
IAttribute ata = workItemCommon.findAttribute(projectArea,
"com.ibm.team.apt.attribute.acceptance", monitor);
workItem.setValue(ata, value)
( working copy of course)