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

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 ?

2 votes

Comments

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

Sam,


That is true, but I am more asking where it should be injected, because I would like to have values set before save, not just after (so I cannot use  com.ibm.team.workitem.operation.workItemSave) 

the extension points are all AFTER the user presses Save.

only the javascript field default  value handler fires before the UI is finished.

Using the JavaScript, I am not able to modify the approvals and I would like to set this values as default. 

I understand.. unfortunately, RTC does not provide enough services to complete all the requirements u have.


Be the first one to answer this question!

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

Question asked: Jun 23 '14, 5:50 a.m.

Question was seen: 2,796 times

Last updated: Jun 23 '14, 7:49 a.m.

Confirmation Cancel Confirm