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

Saving work item on the server side

I am trying to use IRepositoryItemService to save the workitems on the server side.

But it get Access violation exception when i do that.
Is this the correct way to do that. Is therer any other method


Yogesh

0 votes



One answer

Permanent link
I am trying to use IRepositoryItemService to save the workitems on the
server side.

But it get Access violation exception when i do that.
Is this the correct way to do that. Is therer any other method

Save operations must be routed through the owning component's API, in this
case through the work item API:

com.ibm.team.workitem.service.IWorkItemServer.saveWorkItem2(IWorkItem,
IWorkItemReferences, String)

You can get IWorkItemServer like any other service:
getService(IWorkItemServer.class);

--
Regards,
Patrick
Jazz Work Item Team

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
× 3,980

Question asked: Oct 04 '09, 2:18 p.m.

Question was seen: 1,341 times

Last updated: Oct 04 '09, 2:18 p.m.

Confirmation Cancel Confirm