It's all about the answers!

Ask a question

strange link uri format in rtc oslc

Tali Rabetti (11118) | asked May 22 '17, 3:47 a.m.

In my code I go over some work items information, and as part of it I follow the linked work items.

Usually, the linked item uri is in the format:

In one case (link type is mentions/textuallyReferenced) the link has a different format:

This link does not lead to data.
Any idea why this happens and what can I do about it?

One answer

permanent link
Donald Nong (14.4k314) | answered May 29 '17, 11:35 p.m.

The second link is for Web UI only. It only works in a browser as it relies on JavaScript pulling in extra data.

Tali Rabetti commented Jun 01 '17, 2:34 a.m.

Thanks Donald!
Do you know why some of the links appear like this?
Maybe there is a way to avoid this when creating work items..
Is it consistent format?
As I am extracting data via oslc, I can't get the work item information when I encounter such link. I guess I can manually build the link that I need from the work item id at the end, if I assume that the format of this url is consistent.


Donald Nong commented Jun 07 '17, 3:39 a.m.

Yes the format is consistent. The web link may be entered by end users manually, in which case you can't really avoid it.

Tali Rabetti commented Jun 07 '17, 4:01 a.m.

Thanks, I will modify the link manually, then.

Your answer

Register or to post your answer.