It's all about the answers!

Ask a question

How to make a custom link linking file paths to work items?


Richard Wu (132) | asked Nov 28 '18, 10:00 p.m.

I want to make a custom link between a file path (Not a file), and a work item, but I don't know how I would do that. Specifically, I don't know what itemReferenceType I should be using to define the file path, if any.

Accepted answer


permanent link
Ralph Schoon (63.4k33646) | answered Nov 29 '18, 2:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Nov 29 '18, 2:23 a.m.

 You ask this because of https://jazz.net/forum/questions/258604/how-to-attach-or-link-artifact-in-work-item-as-file-path-rather-than-file


So here my 2 cents. 

1. You can not use the attachment part of the work item editor presentation, as that is basically not build for that. Create an enhancement request, if you like.
2. Using File paths might or might not be working, because browsers don't allow local file paths for security reasons any more.
3. You can use add related artifacts to link to any URL. You can try to add your file path there, if that does not work, publish the files using a HTML/FTP URI e.g. store them in Artifactory or publish the location using a Web Server.
4. If you want to create a custom link type look at how the Related Artifacts is implemented by looking at the plugin in the RTC SDK. See https://rsjazz.wordpress.com/2014/12/03/creating-custom-link-types-for-rational-team-concert/
5. You can also drop URIs into comments and descriptions to get a mentions relationship.

Richard Wu selected this answer as the correct answer

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.