failed to find the required service interface com.ibm.team.workitem.common.IWorkItemCommon
Aditya Shankar (7●2●12)
| asked May 20 '19, 8:26 a.m.
edited May 20 '19, 11:38 a.m. by Ralph Schoon (63.5k●3●36●46) 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
Ralph Schoon (63.5k●3●36●46)
| answered May 20 '19, 11:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Here a plugin.xml that works for me and has workitems common.
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
Ralph Schoon
commented May 20 '19, 11:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. |
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.
Comments
That is not the plugin.xml. Maybe because pasing XML.