how to create a custom dialog which will create a link in current workitem (story in project A) to a workitem (defect in project B))
![]()
I have two project Areas named "PLANNING" and "BUGS". In project area "PLANNING "I have a story workitem. In project area "BUGS" i have Defect workitem.
In story work item editor I have created a section "create defect " which has a button "create". On click of this button I want to show a dialog which will show the mandatory fields of Defects work item (belonging to BUGS project area). Once the user enter the mandatory field it should create a Defect workitem in project area Bugs and a link to this Defect should be created in the current Story workitem and a link in Defect workitem should be created linking to this Story. Could you please guide me on this? How should I proceed? |
One answer
![]()
Ralph Schoon (61.5k●3●36●43)
| answered Mar 24 '15, 7:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you talk about the Eclipse client, look here: https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation
If you want to lok at more API examples look here: https://rsjazz.wordpress.com/ you can search that blog for keywords. |
Comments
The normal way to go would be to create a link from the story and choose to create a new Defect. In the Defect you change the "Filed Against" to the Project Area BUGS. The mandatory fields can be seen by asterisks next to them.