Cannot make the link detection in text editors work
I am trying to define a link to a jazz workitem in a editor without
success. I've followed what's defined in the RC2 new & noteworthy page (https://jazz.net/downloads/DownloadDocument.jsp?href=milestones/data/0.5RC2/jazz-news-0.5RC2.html ). Has any of you managed to do this? I'd be pleased to know how. Cheers Jean-Yves |
5 answers
I have had success linking from a .java file to a work item.
In my Java source, I have a comment like this: //TODO: bug 1234 Fix the bug or remove this comment. In the Jazz repository, there is a work item 1234. On Windows, if I hold down the control key and hover over "bug 1234", it becomes a link. Clicking the link opens the work item in an editor. Martha rigolet.j@fr.ibm.com wrote:
|
To complete Martha answer:
This feature works with a set of keywords... This set of keywords is defined in the Process Specification of your current project Area. Jazz considers as keywords: - the name of the com.ibm.team.workitem.configuration.workItemTypes you have defined - the <alias> tags attached on each <type> declaration. For example, if you create a Project Area based on the default Eclipse Way process template, you get the following keywords which will behave as Martha described: Defect, Task, Enhancement, Review, Verification, RFS. Feel free to extend this list by adding <alias> tags e.g.: <type id="defect" category="com.ibm.team.workitem.workItemType" name="Defect" icon="platform:/plugin/com.ibm.team.workitem.common/icons/obj16/wi_bug.gif" dimmedicon="platform:/plugin/com.ibm.team.workitem.common/icons/obj16/wi_bug_dim.gif"> <alias name = "bug" /> </type> |
On jazz.net, I tried to create links to other defects in the description of defect 28871.
https://jazz.net/jazz/web/projects/Jazz%20Project#perspective=Work%20Items&action=viewWorkItem&id=28871 The description contains these phrases (successive versions): (cf. work item 28441) and See work item 28818 for details. (cf. Defect 28441) and See Defect 28818 for details. (cf. defect 28441) and See defect 28818 for details. I used "work item" based on "Getting Started with Work Items" https://jazz.net/learn/LearnItem.jsp?href=content/docs/work-items/index.html Changed to "Defect" based on this thread, and changed to "defect" because I see it working for others. Why aren't they rendered as links? What else do I have to do? Does this just not work from the Web UI editor? Thanks, Carol |
cjulbric@us.ibm-dot-com.no-spam.invalid (cjulbric) wrote in news:f9fl5d$s04
$1@localhost.localdomain: Why aren't they rendered as links? What else do I have to do? Does I noticed the same thing, seems to work from the eclipse UI, not the web. Sounds like a good feature request though :) -- Christophe Elek Serviceability Architect IBM Software Group - Rational |
Christophe wrote:
Sounds like a good feature request though I found and Subscribed to Enhancement 22569 "Web UI's work item editor does not always turn "<phrase> <n>" into a link to another work item." |
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.