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

What am I missing from the new work item link I've created?

I'm trying to create a custom link between work items, but once I have everything setup I can't actually select the new link type from the work item

I used this entry on DeveloperWorks as my starting point for creating the link
https://www.ibm.com/developerworks/community/blogs/extendingrtc/entry/newlink?lang=en

I've created the plug-in project for the link, plus the feature and update site projects.  I've installed the plug-in locally in my eclipse dev environment as well.

I can see the new link type when I edit my Links presentation.  I can also see the new link type in my queries.  What am I missing to actually be able to create the link?

Here's the code from plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         point="com.ibm.team.repository.common.linkTypes">
      <linkType
            constrained="false"
            id="rtc_propagation_link.linkType.propagation"
            internal="false">
         <source>
            <endpoint
                  displayName="Propagate To"
                  id="propagateTo"
                  multiplicity="0..n">
               <itemReferenceType
                     itemTypeName="WorkItem"
                     packageURI="com.ibm.team.workitem">
               </itemReferenceType>
            </endpoint>
         </source>
         <target>
            <endpoint
                  displayName="Propagated From"
                  id="propagateFrom"
                  multiplicity="0..1">
               <itemReferenceType
                     itemTypeName="WorkItem"
                     packageURI="com.ibm.team.workitem">
               </itemReferenceType>
            </endpoint>
         </target>
      </linkType>
   </extension>
 
</plugin>

0 votes



2 answers

Permanent link
If you edit the process configuration, presentation for that workitem, and select the Links presentation element, is your linktype in that list?

0 votes

Comments

yes, it's in the list of link

and when on a Workitem Links tab, you press 'Add', does it appear in THAT list?

no.  the list is being updated when i select different items in the Links presentation, but the new link type that is created never shows up.

have u restarted Eclipse?, clean?

eclipse -clean to force the reload of all the plugins?  Shouldn't matter,
but sometimes it does.
the eclipse install will only show in Eclipse..
the server install will only show in the web.

hey! look at that.  the clean restart did the trick in Eclipse.  Now just to figure out the web.  Might just be that I don't know how to do a server install

On the server you need to install the repo into the  (tomcat)

server/conf/ccm/sites  subtree, and add an ini to the provisioning files folder to tell the server to load the plugin.

then restart the server cold to tell it to load plugins too.
https://serveraddress/ccm/admin/cmd/requestReset

then stopserver/startserver

note that linktypes added on the server are seen SYSTEM WIDE for ALL projects.

add your voice to enhancement 160162 to be able to limit where they are used

ok, so I have done that part correctly as well.  Still not seeing the links in the web client though

showing 5 of 7 show 2 more comments

Permanent link
can u look in the server/logs/ccm.log  to make sure the plugin loaded

I've had some typographical errors on the path names and the plugin feature name that have prevented the plugin from loading

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,927

Question asked: May 28 '13, 8:53 a.m.

Question was seen: 5,040 times

Last updated: May 28 '13, 4:30 p.m.

Confirmation Cancel Confirm