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
|
Accepted answer
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
Comments 1
This is also discussed in the extensions workshop and https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-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.