URL for head version of file
![](http://jazz.net/_images/myphoto/24bddaadd2b1fb642f558bf603fa9f97.jpg)
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a selected resource but if a new revision is created, the URL points to a specific version.
I see in the URL that only difference is in the stateId param, omitting it didn't work.
I got this URL by selecting the file in the Web UI and then selecting "Raw Content".
Thanks in advance
I see in the URL that only difference is in the stateId param, omitting it didn't work.
I got this URL by selecting the file in the Web UI and then selecting "Raw Content".
Thanks in advance
5 answers
![](http://jazz.net/_images/myphoto/24bddaadd2b1fb642f558bf603fa9f97.jpg)
Steve,
I am not aware of any. If you find that this feature does not
exist. please create an enhancement for it since it is a great idea.
sspeiche wrote:
I am not aware of any. If you find that this feature does not
exist. please create an enhancement for it since it is a great idea.
sspeiche wrote:
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a
selected resource but if a new revision is created, the URL points to
a specific version.
I see in the URL that only difference is in the stateId param,
omitting it didn't work.
I got this URL by selecting the file in the Web UI and then selecting
"Raw Content".
Thanks in advance
![](http://jazz.net/_images/myphoto/24bddaadd2b1fb642f558bf603fa9f97.jpg)
What did you have in mind as the "latest" version? Since there will in
general be many streams of development for a give versionable, the
latest version by creation/modification-date is probably not very
interesting/useful.
Cheers,
Geoff (ClearCase Connector team)
sspeiche wrote:
general be many streams of development for a give versionable, the
latest version by creation/modification-date is probably not very
interesting/useful.
Cheers,
Geoff (ClearCase Connector team)
sspeiche wrote:
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a
selected resource but if a new revision is created, the URL points to
a specific version.
I see in the URL that only difference is in the stateId param,
omitting it didn't work.
I got this URL by selecting the file in the Web UI and then selecting
"Raw Content".
Thanks in advance
![](http://jazz.net/_images/myphoto/24bddaadd2b1fb642f558bf603fa9f97.jpg)
Actually, let me guess ... you'd like a URL for the "current" version in
a given stream/workspace? (I agree that would be useful/desireable).
Cheers,
Geoff
Geoffrey Clemm wrote:
a given stream/workspace? (I agree that would be useful/desireable).
Cheers,
Geoff
Geoffrey Clemm wrote:
What did you have in mind as the "latest" version? Since there will in
general be many streams of development for a give versionable, the
latest version by creation/modification-date is probably not very
interesting/useful.
Cheers,
Geoff (ClearCase Connector team)
sspeiche wrote:
I'm using beta 2 and looking at Jazz Web SCM, I can get a URL for a
selected resource but if a new revision is created, the URL points to
a specific version.
I see in the URL that only difference is in the stateId param,
omitting it didn't work.
I got this URL by selecting the file in the Web UI and then selecting
"Raw Content".
Thanks in advance
![](http://jazz.net/_images/myphoto/24bddaadd2b1fb642f558bf603fa9f97.jpg)
You can bookmark the SCM web UI page for the current revision of a file, from which you can then get the content via the "Raw Content" link (changed in M5 to "Download").
There's currently no URL for the current content of a file.
It would make allow what you tried: take the download link and remove the stateId param.
I've opened up a feature request for this:
https://jazz.net/jazz/resource/itemName/WorkItem/45115
There's currently no URL for the current content of a file.
It would make allow what you tried: take the download link and remove the stateId param.
I've opened up a feature request for this:
https://jazz.net/jazz/resource/itemName/WorkItem/45115