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

Automatic Links in Work Item Descriptions...

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

0 votes



3 answers

Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
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

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

Question asked: Jul 03 '09, 11:26 a.m.

Question was seen: 8,237 times

Last updated: Jul 03 '09, 11:26 a.m.

Confirmation Cancel Confirm