It's all about the answers!

Ask a question

How to set the approvers for WI programmatically?


Joseph Simon Arokiaraj (21414845) | asked Jan 03 '12, 7:05 a.m.
Hi All,

I am able to create the work item programmatically using JAVA API.

Now I need to set the approver while crerating the workitem.How can I do it using java API?

Cheers,
Jose

2 answers



permanent link
sam detweiler (12.5k6195201) | answered Jan 04 '12, 10:59 a.m.
glad u found it..

Your thinking process should have been

Approvers are People
People in RTC are 'Contributor's
RTC never stores the POINTER to an object, but a HANDLE

so,you need a list of ContributorHandle(s) (list is one or more)

Sam

permanent link
Joseph Simon Arokiaraj (21414845) | answered Jan 04 '12, 5:28 a.m.
Hi All,

Got it to work by using Icontributorhandle object.

Cheers,
Jose

Hi All,

I am able to create the work item programmatically using JAVA API.

Now I need to set the approver while crerating the workitem.How can I do it using java API?

Cheers,
Jose

Your answer


Register or 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.