Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Set acceptance criteria programatically through Java API

 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.

0 votes

Comments

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)


Be the first one to answer this question!

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Apr 15 '14, 1:34 p.m.

Question was seen: 4,524 times

Last updated: Apr 15 '14, 1:41 p.m.

Confirmation Cancel Confirm