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

IWorkItemServer Service not found while trying to save a WorkItem

 Hi everyone,
I'm trying to set the HTMLSummary of a WorkItem in my server extension and I read online that I have to save my WorkItem for it to work(heh). 

I tried to use the IWorkItemServer but if I execute:

IWorkItemServer workItemServer = getService(IWorkItemServer.class);

I get this error:

[err] com.ibm.team.repository.common.transport.internal.registry.ServiceNotFound
Exception: The service 'adv3.AbstractService@9341e2fb' failed to find the requir
ed service 'interface com.ibm.team.workitem.service.IWorkItemServer'.  Check <prerequisites> in plugin.xml.

I don't have a <prerequisites> tag in my plugin.xml
Do I have to add something?

Thanks

0 votes


Accepted answer

Permanent link
 Nvm, duplicate question

https://jazz.net/forum/questions/134982/how-to-programme-the-prerequisites-in-pluginxml
Ralph Schoon selected this answer as the correct answer

0 votes

Comments

This is also discussed in the extensions workshop and https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/

You have to basically provide the prerequisites in the plugin.xml.

1 vote

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,937
× 369

Question asked: Aug 10 '16, 4:58 a.m.

Question was seen: 2,559 times

Last updated: Aug 10 '16, 6:28 a.m.

Confirmation Cancel Confirm