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

Programmatic "extract work item from selected text&quot

I have a Change Request work item. From here I want to create a child work item of Task type in which all the attribute values will be same as the parent work item.

I know that there exists a "extract work item from selected text" function in the top right corner which can help me achieve this, but it takes me through 3 windows. (to select the relationship, to select the type, to select the fields i want to copy). But I want to be able to achieve this programmatically because I only require a child parent (or a custom) relationship with a Task work item type alone.

How can this be achieved?

Thanks to all the helpful users posting on these forums,
I know how to add a link programmatically.
I know how to create a new child task work item with copied attributes.

All I need to know is how do I trigger this action.

Can a new button be added near the "extract work item from selected text" or "find potential duplicates" functionality button (top right corner)?

Can a trigger be fired when creating a new custom or child link in the links tab?

If yes, which are the extension points I can use?

0 votes



2 answers

Permanent link
Hi Arun,

I am not sure that is so easy, because you would have to extend the Eclipse client as well as the Web Ui.

I know it is potentially possible to extend the RTC client. It is probably still very complex to do. I am not so sure you can extend the WebUI. Have you tired looking at the various hints about extending in the WiKi?

0 votes


Permanent link
Hi,

Thank you for your reply. I did go through some of the examples available. And yes, it did seem complicated.
Hence I started working on a workaround for this by making it possible to do this in a save pre-condition (operation advisor). It has been successful on most part with an exception resulting to following query.

https://jazz.net/forums/viewtopic.php?t=20510&highlight=
I would be very grateful if you could help me with this.

Warm Regards,
Arun

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

Question asked: Sep 29 '11, 8:33 a.m.

Question was seen: 5,343 times

Last updated: Sep 29 '11, 8:33 a.m.

Confirmation Cancel Confirm