It's all about the answers!

Ask a question

where can I find the patterns used for auto hyperlinks in workitem description and comments? [Resolved]

sam detweiler (12.4k6179201) | asked Feb 10 '14, 6:07 p.m.
edited Mar 20 '14, 11:25 a.m.
 in our project move utility we are fixing up links and mentions.  but we are finding extra areas where the patterns are not clear.. 

I see the pattern matcher handler in workitem client, but not the patterns themselves.
does anyone have a pointer to the patterns that are supported?  (some of these produce junk tho)

'attachment 123456' in a comment or description will create a hyperlink, and mentions.. even tho there is no attachment 123456 in the system.

Accepted answer

permanent link
Stephanie Bagot (2.1k512) | answered Feb 11 '14, 12:46 p.m.
In the case above, any time 'attachment' is used with a number after it, it will create a hyperlink because RTC thinks you are pointing to an internal attachment.
The same goes for:
-work item type such as: task, defect, story etc
- "work item"

I remember seeing an article or a technote on this, but I wasn't able to find it to link here...
sam detweiler selected this answer as the correct answer

sam detweiler commented Mar 20 '14, 11:24 a.m. 

Your answer

Register or to post your answer.