What are the Java APIs to create WIs from WI Template ?
Hi,
I need to create work items from a WI template via a java program. What APIs I should use to do it (a WI template exist in the project area where I want to create the WIs)? Thanks! |
One answer
Hello,
depending on whether you're using templates on the client or server you want to look into com.ibm.team.workitem.client.IWorkItemTemplateClient com.ibm.team.workitem.common.internal.IWorkItemTemplateService On the client side you can create a template client as follows IWorkItemTemplateClient templateClient= (IWorkItemTemplateClient)repository.getClientLibrary(IWorkItemTemplateClient.class); On the server, you can call getService(IWorkItemTemplateService.class) from within any AbstractService or at any type of ICommonServiceContext. HTH, Jan. -- Jan Wloka Jazz Tracking & Planning Team Hi, |
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.