Contributing a new link type
Hello,
I need to contribute a new link type for workitem.
I've created a "common" plugin using the extension pointcom.ibm.team.repository.common.linkTypes to register the new type.
When I deploy it on the server I can see the new type menu entry but how should I go about creating a new link of this new type without updating the code from the plugins workitem.common and workitem.service? Do I need to create a service plugin with a REST service?
Thank you
I need to contribute a new link type for workitem.
I've created a "common" plugin using the extension point
When I deploy it on the server I can see the new type menu entry but how should I go about creating a new link of this new type without updating the code from the plugins workitem.common and workitem.service? Do I need to create a service plugin with a REST service?
Thank you
6 answers
I need to contribute a new link type for workitem.
I've created a "common" plugin using the extension point
com.ibm.team.repository.common.linkTypes
to register the new type.
When I deploy it on the server I can see the new type menu entry but
how should I go about creating a new link of this new type without
updating the code from the plugins workitem.common and
workitem.service? Do I need to create a service plugin with a REST
service?
If you contribute a new linktype with work items on both sides of the
link, I believe it will automatically become available in the work item
editor.
If the links point to your custom artifacts, you will be responsible for
creating the links. You don't need work item code to do this. Links can
be created using e.g.
com.ibm.team.links.client.ILinkManager
--
Regards,
Patrick
Jazz Work Item Team
Comments
Hi,
I defined a new link type for workitem using extension point com.ibm.team.repository.common.linkTypes and I can install it (the plugin) into RTC Eclipse client. I can see my new link type in the Links tab of the workitem from the RTC Eclipse client. However, when I tried to query work items using my link type as condition, no result came back. I believe the new link type needs to contribute to the RTC server as well in order for the query to work.
My question is how to get the RTC server to install my plugin, so that the link type is visible to the server? If possible, please provide step by step instruction.
Thanks alot for the help. Thanks.
If you contribute a new linktype with work items on both sides of the
link, I believe it will automatically become available in the work item
editor.
If the links point to your custom artifacts, you will be responsible for
creating the links. You don't need work item code to do this. Links can
be created using e.g.
com.ibm.team.links.client.ILinkManager
--
Regards,
Patrick
Jazz Work Item Team
I defined a new link type for workitem using extension point com.ibm.team.repository.common.linkTypes and I can install it (the plugin) into RTC Eclipse client. I can see my new link type in the Links tab of the workitem from the RTC Eclipse client. However, when I tried to query work items using my link type as condition, no result came back. I believe the new link type needs to contribute to the RTC server as well in order for the query to work.
My question is how to get the RTC server to install my plugin, so that the link type is visible to the server? If possible, please provide step by step instruction.
Thanks alot for the help. Thanks.
I need to contribute a new link type for workitem.
I've created a "common" plugin using the extension point
com.ibm.team.repository.common.linkTypes
to register the new type.
When I deploy it on the server I can see the new type menu entry but
how should I go about creating a new link of this new type without
updating the code from the plugins workitem.common and
workitem.service? Do I need to create a service plugin with a REST
service?
If you contribute a new linktype with work items on both sides of the
link, I believe it will automatically become available in the work item
editor.
If the links point to your custom artifacts, you will be responsible for
creating the links. You don't need work item code to do this. Links can
be created using e.g.
com.ibm.team.links.client.ILinkManager
--
Regards,
Patrick
Jazz Work Item Team
Hi I'm trying to create new types of links to use in the Web client. I have taken as a reference the note: https://jazz.net/wiki/bin/view/Main/ProgrammaticLinkCreation in section Contributing to new link type. I'm working on an RTC 3.0 and 3.0.1 RC3.
I Generate a new Plugin project. And do the deployment on the server and shown as Active state, but I cannot see them in view of the process template to associate the new links type in presentation to a Workitem.
In addition to creating the project and deploy plugin is necessary do something else? (Maybe using the repotools command for the creation the link types in the tables in the database)
Any additional ideas or suggestion?
If you contribute a new linktype with work items on both sides of the
link, I believe it will automatically become available in the work item
editor.
If the links point to your custom artifacts, you will be responsible for
creating the links. You don't need work item code to do this. Links can
be created using e.g.
com.ibm.team.links.client.ILinkManager
--
Regards,
Patrick
Jazz Work Item Team
I Generate a new Plugin project. And do the deployment on the server and shown as Active state, but I cannot see them in view of the process template to associate the new links type in presentation to a Workitem.
In addition to creating the project and deploy plugin is necessary do something else? (Maybe using the repotools command for the creation the link types in the tables in the database)
Any additional ideas or suggestion?
Hi,
I defined a new link type for workitem using extension point com.ibm.team.repository.common.linkTypes and I can install it (the plugin) into RTC Eclipse client. I can see my new link type in the Links tab of the workitem from the RTC Eclipse client. However, when I tried to query work items using my link type as condition, no result came back. I believe the new link type needs to contribute to the RTC server as well in order for the query to work.
My question is how to get the RTC server to install my plugin, so that the link type is visible to the server? If possible, please provide step by step instruction.
Thanks alot for the help. Thanks.
I need to contribute a new link type for workitem.
I've created a "common" plugin using the extension point
com.ibm.team.repository.common.linkTypes
to register the new type.
When I deploy it on the server I can see the new type menu entry but
how should I go about creating a new link of this new type without
updating the code from the plugins workitem.common and
workitem.service? Do I need to create a service plugin with a REST
service?
If you contribute a new linktype with work items on both sides of the
link, I believe it will automatically become available in the work item
editor.
If the links point to your custom artifacts, you will be responsible for
creating the links. You don't need work item code to do this. Links can
be created using e.g.
com.ibm.team.links.client.ILinkManager
--
Regards,
Patrick
Jazz Work Item Team
Hi I'm trying to create new types of links to use in the Web client. I have taken as a reference the note: https://jazz.net/wiki/bin/view/Main/ProgrammaticLinkCreation in section Contributing to new link type. I'm working on an RTC 3.0 and 3.0.1 RC3.
I Generate a new Plugin project. And do the deployment on the server and shown as Active state, but I cannot see them in view of the process template to associate the new links type in presentation to a Workitem.
In addition to creating the project and deploy plugin is necessary do something else? (Maybe using the repotools command for the creation the link types in the tables in the database)
Any additional ideas or suggestion?
Hi,
I defined a new link type for workitem using extension point com.ibm.team.repository.common.linkTypes and I can install it (the plugin) into RTC Eclipse client. I can see my new link type in the Links tab of the workitem from the RTC Eclipse client. However, when I tried to query work items using my link type as condition, no result came back. I believe the new link type needs to contribute to the RTC server as well in order for the query to work.
My question is how to get the RTC server to install my plugin, so that the link type is visible to the server? If possible, please provide step by step instruction.
Thanks alot for the help. Thanks.
I need to contribute a new link type for workitem.
I've created a "common" plugin using the extension point
com.ibm.team.repository.common.linkTypes
to register the new type.
When I deploy it on the server I can see the new type menu entry but
how should I go about creating a new link of this new type without
updating the code from the plugins workitem.common and
workitem.service? Do I need to create a service plugin with a REST
service?
If you contribute a new linktype with work items on both sides of the
link, I believe it will automatically become available in the work item
editor.
If the links point to your custom artifacts, you will be responsible for
creating the links. You don't need work item code to do this. Links can
be created using e.g.
com.ibm.team.links.client.ILinkManager
--
Regards,
Patrick
Jazz Work Item Team
I have the same problem in that I followed the write up for Programmatic Link Creation, created an extension and after doing PDE->Build Site, I am unable to see the new link type in the Eclipse client. I'm using RTC 3.0.1.
Here is what's in my plugin.xml:
<extension>
<linkType>
<source>
<endpoint>
<itemReferenceType>
</itemReferenceType>
</endpoint>
</source>
<target>
<endpoint>
<itemReferenceType>
</itemReferenceType>
</endpoint>
</target>
</linkType>
</extension>
I checked the process configuration Editor Presentations for Links tab since it appears only selected link types are disaplayed in the Work Item editor, but I didn't find the new link there.
What step am I missing? Please help if you have been successful with this.
Thanks,
Audrey Wang
@ Audrey Wang
In editor presentations, go to links presentation of your respective editor, there you will find a list of all the link types that should be visible. You will find the entry of your link type there. Make sure the corresponding check-box is ticked. You are done.
I hope this helps.
Regards,
Arun
In editor presentations, go to links presentation of your respective editor, there you will find a list of all the link types that should be visible. You will find the entry of your link type there. Make sure the corresponding check-box is ticked. You are done.
I hope this helps.
Regards,
Arun
Thank you Arun for your response. The problem was there was no check-box for my new link type. I did eventually realize that this was a client change and I needed to rebuild my client to see the new link type. Now my issue is resolved.
Thanks,
Audrey
Thanks,
Audrey
@ Audrey Wang
In editor presentations, go to links presentation of your respective editor, there you will find a list of all the link types that should be visible. You will find the entry of your link type there. Make sure the corresponding check-box is ticked. You are done.
I hope this helps.
Regards,
Arun