how to create a Button in a workitem using server side java API ?
Hello Team
I want to know How can we create a button in a workitem using server side API ? Also how can we give actions to the button ? Please let me know how can we do this using server side API . |
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered Jan 21 '16, 7:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See https://jazz.net/library/article/782/ . Please note, I haven't found how to do that in the Eclipse client.
vinitha dsouza selected this answer as the correct answer
Comments
vinitha dsouza
commented Jan 22 '16, 1:38 a.m.
Hello Ralph
Read https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ follow the links and do the extension workshop.
vinitha dsouza
commented Jan 22 '16, 8:47 a.m.
Hello Ralph
How should I know? I created an example based on this and it works for me. I don't know if I had to change anything. The action to be performed is in the LinkedDefectEditorToolbarAction.js file.
vinitha dsouza
commented Jan 27 '16, 3:42 a.m.
Hi
I believe from https://jazz.net/library/article/782/ you would use the code below to get at the attributes you want. I don't have more to contribute, as I have not done this myself.
// Calculate current Project Area and Work Item Type this._currentWIType = new String(this.workingCopy.getValue({ path: "attributes.workItemType.id"})); this._currentPArea = new String(this.workingCopy.getValue({ path: "attributes.projectArea.id"}));
vinitha dsouza
commented Jan 27 '16, 4:21 a.m.
Hi
showing 5 of 7
show 2 more comments
|
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.