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

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?

0 votes

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.


What are your requirements that impede that solution?



One answer

Permanent link
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.

0 votes

Your answer

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
× 10,938
× 7,495

Question asked: Mar 17 '15, 3:08 a.m.

Question was seen: 3,934 times

Last updated: Mar 24 '15, 7:58 a.m.

Confirmation Cancel Confirm