It's all about the answers!

Ask a question

failed to find the required service interface com.ibm.team.workitem.common.IWorkItemCommon


Aditya Shankar (7212) | asked May 20 '19, 8:26 a.m.
edited May 20 '19, 11:38 a.m. by Ralph Schoon (63.3k33646)

 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>


Comments
Ralph Schoon commented May 20 '19, 11:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

That is not the plugin.xml. Maybe because pasing XML.


However, the question is also lacking basic information. If you continue to try to get answers from the community without even making the effort to provide reasonable information in your questions, you will likely fail. 

this kind of question needs also to be tagged with rational-team-concert and extending. No other tag, especially no Jazz-foundation or asset manager.


One answer



permanent link
Ralph Schoon (63.3k33646) | 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

Your answer


Register or 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.