Can you link a work item to a file in the repository?
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!
Thanks!
One answer
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:
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!