Default values for WorkItem via Java SDK
Hi Jazz Team,
Currently I am in project where I have to extend RTC that it will set default values via sdk extension (it is not possible to do it via JS).
The questions is which class do I have to extend, because com.ibm.team.workitem.operation.workItemSave is not good hit for defaults ?
End, additionally do we have any examples ?
Comments
sam detweiler
Jun 23 '14, 7:35 a.m.please take the extensions workshop
https://jazz.net/library/article/1000
your extension will either (no workitem changes)
extends AbstractService implements IOperationAdvisor
or (supports workitem changes)
extends AbstractService implements IOperationParticipant
Bartosz Chrabski
Jun 23 '14, 7:38 a.m.Sam,
sam detweiler
Jun 23 '14, 7:41 a.m.the extension points are all AFTER the user presses Save.
only the javascript field default value handler fires before the UI is finished.
Bartosz Chrabski
Jun 23 '14, 7:48 a.m.Using the JavaScript, I am not able to modify the approvals and I would like to set this values as default.
sam detweiler
Jun 23 '14, 7:49 a.m.I understand.. unfortunately, RTC does not provide enough services to complete all the requirements u have.