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

How to create a custom link to RQM test cases in the RTC app.

I have followed a tutorial "Creating a New Link Type" (https://www.ibm.com/developerworks/community/blogs/extendingrtc/entry/newlink?lang=en) to create custom links to RTC workitems.

The idea here is to make an extension plug-in of type com.ibm.team.repository.common.linkTypes and set the itemreferencetype's packageURI to "com.ibm.team.workitem". It works just fine for RTC workitems.

The question is which type should be set to itemreferencetype to make it possible to create custom links to RQM  test cases?

0 votes



2 answers

Permanent link
Try:

<itemReferenceType
                      itemTypeName="VersionedTestCase"
                      packageURI="com.ibm.rqm.planning"/>

0 votes

Comments

Thanks Paul!

Could you please tell which dependencies/required bundles should I link to my plugin to get it work? Cos after changing to "com.ibm.rqm.planning" my custom links have disappeared.


Try: com.ibm.rqm.planning.common

Hi Paul,
actually there is no such plug-in as com.ibm.rqm.planning.common

If I got your idea correctly plugin.xml should look as follows:
<plugin>
   <extension point="com.ibm.team.repository.common.linkTypes">...
   <linkType ...>
        <target>...
            <itemReferenceType itemTypeName="TestCase" packageURI="com.ibm.rqm.planning"/>
         </target>
   </linkType>
   </extension>
</plugin>

1. Is that plugin.xml correct? Have anyone checked if this really works or is there any documentation on this topic (regarding "com.ibm.rqm.planning")?
2. You have proposed to use com.ibm.rqm.planning.common as required plugin in dependencies. This does not help, because there is no such plugin there.
          
Could you please answer my questions?

The plug-in ID is com.ibm.rqm.planning.common and package URI is com.ibm.rqm.planning.  Your com.ibm.team.repository.common.linkTypes extension point implementation looks fine.


Permanent link
 Hi All,
            Is a similar link possible to RRC? Which bundles should be referred?

Thanks.

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,937
× 49
× 35

Question asked: Oct 07 '13, 5:46 a.m.

Question was seen: 7,049 times

Last updated: Oct 20 '14, 11:28 a.m.

Confirmation Cancel Confirm