It's all about the answers!

Ask a question

Can you link a work item to a file in the repository?


Timothy McKemy (1082317) | asked Nov 16 '09, 1:54 p.m.
How would I establish a link on a Work Item's link tab to a file in the repository? I see how to do that to a file on the file system, but once the workspace is unloaded and/or deleted, will the link to the file in Jazz source control still exist? Does this link happen automatically if I link to a file system file already under control?

Thanks!

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Nov 16 '09, 9:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The file link is just to the file in the file system.

To get a link that works when you aren't on the host that has that file
loaded, you have to have a URL, and use the "Related Artifacts" property
of the work item. If you are using the Eclipse client, to get the URL
of a loaded file, you would ask for the Properties of that file, and
look at the Jazz SCM page of the Properties. If you are using the Web
Browser client, then you would get the URL by browsing to the file.

If you are using the Eclipse client and don't have the file loaded in
the file system, then I don't know how to get the URL (I've submitted
work item 99556, asking for a way to get that URL from the Repository
Files view.

I've also submitted work item 99555 asking for a non-URL link to a file
from a work item.

Cheers,
Geoff

tmckemy wrote:
How would I establish a link on a Work Item's link tab to a file in
the repository? I see how to do that to a file on the file system,
but once the workspace is unloaded and/or deleted, will the link to
the file in Jazz source control still exist? Does this link happen
automatically if I link to a file system file already under control?

Thanks!

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.