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 (62.7k●3●36●43)
| 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 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.
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.
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"})); Hi
showing 5 of 7
show 2 more comments
|