failed to find the required service interface com.ibm.team.workitem.common.IWorkItemCommon
![](http://jazz.net/_images/myphoto/4c4ea50f235a0ccf385b961623c7d96d.jpg)
Exception in thread "main" com.ibm.team.repository.common.transport.internal.registry.ServiceNotFoundException: The service 'autostory.AutoStoryCreator@39e239e2' failed to find the required service 'interface com.ibm.team.workitem.common.IWorkItemCommon'. Check <prerequisites> in plugin.xml.
at com.ibm.team.repository.service.AbstractService.getService(AbstractService.java:788)
at autostory.AutoStoryCreator.run(AutoStoryCreator.java:114)
at autostory.AutoStoryCreator.main(AutoStoryCreator.java:490)
plugin.xml
<requiredService interface="com.ibm.team.workitem.common.IWorkItemCommon" />
<requiredService interface="com.ibm.team.repository.common.service.IContributorService" />
</prerequisites>
One answer
![](http://jazz.net/_images/myphoto/4c4ea50f235a0ccf385b961623c7d96d.jpg)
Here a plugin.xml that works for me and has workitems common.
![](https://jazz.net/forum/upfiles/RequiredServices_2019-05-20_17-30-11.png)
It also has IWorkitemServer which you will likely need.
I would still suggest to do the extensions workshop https://jazz.net/library/article/1000 before you try your own stuff.
Comments
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
PS: https://rsjazz.wordpress.com/2016/10/24/using-the-work-item-server-api-to-create-work-items/ shows code that creates work items in a participant.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER May 20 '19, 11:33 a.m.That is not the plugin.xml. Maybe because pasing XML.