It's all about the answers!

Ask a question

Automatic Links in Work Item Descriptions...


Chris Taylor (1654) | asked Jul 03 '09, 11:26 a.m.
JAZZ DEVELOPER
Hi,

I was wondering if it's possible to customize (or just learn) how Jazz creates links in work item descriptions? I notice that if I include `defect xyz' in the description of a work item and save it, the text turns into a link that brings me to the work item xyz in Jazz.net. I'm wondering if a similar approach could be used to create links to other types of resources or just to arbitrary web pages.

Thank you for your time,

- chris

3 answers



permanent link
Marcel Bihr, Jazz Work Item team (1.4k) | answered Aug 03 '09, 8:50 a.m.
JAZZ DEVELOPER
Hi
One thing to note is that the link detection mechanism lives on both sides, the server and the eclipse client (the extension point is in common).
This means that you need to plugin on the server for:
- web UI work item editor
- Change event generation (unsure whether contributed detectors are used)
- mentioned links (I think these are hardcoded and do not use contributed detectors, thus listing for completeness)

you need it on the client for:
- eclipse UI work item editor
- text editors (including java editor), holding CTRL while hovering

Regards

Marcel
Jazz Work Item team

permanent link
Chris Taylor (1654) | answered Jul 08 '09, 1:21 p.m.
JAZZ DEVELOPER
Thanks for the info!

It's more clear now what sorts of links are already detected.

As for extending this functionality, how would I go about doing this :) ?

From the document you linked to, it seems like it involves creating an Eclipse plugin and somehow installing it into an instance of RTC. I went ahead and created a plugin with the described extension point, but I'm stuck on the install.

What I've tried so far is copying the resulting .jar file into the jazz/server/tomcat/webapps/jazz/WEB-INF/eclipse/plugins directory of an RTC server install, and starting up the server...but I'm not seeing the new functionality, or any errors suggesting that the plugin couldn't be loaded.

Being an Eclipse plugin newbie, I know I'm probably missing something.

If you have any more specific info--even some rough notes--on installing extensions to RTC it would be greatly appreciated.

Thanks,

edit: Just discovered the Extending Jazz forum. The links there should get me going :)

- chris

Hi
This link detection is also described in the wiki: https://jazz.net/wiki/bin/view/Main/LinkDetection.
The following detectors are included with RTC:
- Work Item links (defect 123)
- Attachment links (attachment 456)
- E-Mail addresses: (foo@bar.com)
- URIs (http://jazz.net)
- Java Stack traces

It is possible to contribute your own link detector (also described in the wiki topic).

Regards

Marcel
Jazz Work Item team

permanent link
Marcel Bihr, Jazz Work Item team (1.4k) | answered Jul 08 '09, 3:44 a.m.
JAZZ DEVELOPER
Hi
This link detection is also described in the wiki: https://jazz.net/wiki/bin/view/Main/LinkDetection.
The following detectors are included with RTC:
- Work Item links (defect 123)
- Attachment links (attachment 456)
- E-Mail addresses: (foo@bar.com)
- URIs (http://jazz.net)
- Java Stack traces

It is possible to contribute your own link detector (also described in the wiki topic).

Regards

Marcel
Jazz Work Item team

Your answer


Register or 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.