It's all about the answers!

Ask a question

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))

aastha khatri (22618) | asked Mar 17 '15, 3:08 a.m.
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?

Kevin Eifinger commented Mar 24 '15, 7:21 a.m.

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.

What are your requirements that impede that solution?

One answer

permanent link
Ralph Schoon (62.9k33645) | answered Mar 24 '15, 7:58 a.m.
If you talk about the Eclipse client, look here:
If you want to lok at more API examples look here: you can search that blog for keywords.

Your answer

Register or to post your answer.