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

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

 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>

0 votes

Comments

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

 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.  

0 votes

Comments

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
× 10,953

Question asked: May 20 '19, 8:26 a.m.

Question was seen: 2,105 times

Last updated: May 20 '19, 11:38 a.m.

Confirmation Cancel Confirm