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

How to set the approvers for WI programmatically?

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
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

0 votes

Your answer

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
× 10,943

Question asked: Jan 03 '12, 7:05 a.m.

Question was seen: 5,134 times

Last updated: Jan 03 '12, 7:05 a.m.

Confirmation Cancel Confirm