Creating Child Work Item from Context Menu
Hi,
I'd like to be able to create a child Work Item by right clicking a work item in the work items view and selecting a context-sensitive menu item. Upon creation of this child work item some of the fields should automatically be copied over from the parent (Summary, severity etc), and then the work item editor opened to give the ability to make changes before committing to the repository. What I'd like to know is:
1. Has anyone done this already?
2. If not is it possible via plug in development?
3. If so, what classes should I be looking to extend/use for this?
4. As far as I understand it would be entirely client side - no custom development on the server side - is this right?
Thanks,
Simon
Edit: I'd also like the parent/child link to be created automatically - can this be done?
I'd like to be able to create a child Work Item by right clicking a work item in the work items view and selecting a context-sensitive menu item. Upon creation of this child work item some of the fields should automatically be copied over from the parent (Summary, severity etc), and then the work item editor opened to give the ability to make changes before committing to the repository. What I'd like to know is:
1. Has anyone done this already?
2. If not is it possible via plug in development?
3. If so, what classes should I be looking to extend/use for this?
4. As far as I understand it would be entirely client side - no custom development on the server side - is this right?
Thanks,
Simon
Edit: I'd also like the parent/child link to be created automatically - can this be done?
5 answers
Hi
This exact scenario is not possible, you can however use the 'Duplicate' context menu action: This creates a work item with some fields pre-populated. If you would like this work item to be a child, you could then easily add a 'Parent' link in quick information by using d&d and the 'Copied From' link.
Regards
Marcel
Jazz Work Item team
This exact scenario is not possible, you can however use the 'Duplicate' context menu action: This creates a work item with some fields pre-populated. If you would like this work item to be a child, you could then easily add a 'Parent' link in quick information by using d&d and the 'Copied From' link.
Regards
Marcel
Jazz Work Item team
Attachments are references, like other links are, too. Without involving java code, you can use d&d in Quick Information to 'copy' an attachment to a different work item. If you would like to do this programmatically, you have to create a new reference with the AttachmentHandle and the correct Link Type and add that reference to the list of references on the work item. The code that does this for D&D in Quick Info is in LinkHelper#AddLinkToEndPointAction.
Regards
Marcel
Jazz Work Item team
Regards
Marcel
Jazz Work Item team