Is it possible to create a link to a file for a specific item id plus state?
Is it possible to create a link to a file for a specific item id plus state?
Currently we can create a link in alm for a file/item id.
Can we add extra parameter &stateId= and create a link
For example : i have an item a.c in state (2)/version 2. I can only view the latest file that is version 2 in alm browser link.
is it possible to view version 1 by adding state id as additioonal parameter in the above link.
We also tried to do that however, no matter what we give as state, it alwys redirects to latest version of the file.
below is the link to a file i.e. a.c version 2
....#action=com.ibm.team.scm.browseElement&workspaceItemId=__tJbwL5UEemfxMTXV99IQA&componentItemId=__uyagr5UEemfxMTXV99IQA&itemType=com.ibm.team.filesystem.FileItem&itemId=_IK3O8L5VEem7SNNawz5Oxg
if i add a state id as a suffix with state as (1) or (2), it is making no difference
....#action=com.ibm.team.scm.browseElement&workspaceItemId=__tJbwL5UEemfxMTXV99IQA&componentItemId=__uyagr5UEemfxMTXV99IQA&itemType=com.ibm.team.filesystem.FileItem&itemId=_IK3O8L5VEem7SNNawz5Oxg&StateId=abc
....#action=com.ibm.team.scm.browseElement&workspaceItemId=__tJbwL5UEemfxMTXV99IQA&componentItemId=__uyagr5UEemfxMTXV99IQA&itemType=com.ibm.team.filesystem.FileItem&itemId=_IK3O8L5VEem7SNNawz5Oxg&StateId=xyz
it will always redirect to ....#action=com.ibm.team.scm.browseElement&workspaceItemId=__tJbwL5UEemfxMTXV99IQA&componentItemId=__uyagr5UEemfxMTXV99IQA&itemType=com.ibm.team.filesystem.FileItem&itemId=_IK3O8L5VEem7SNNawz5Oxg
Accepted answer
One other answer
Comments
...#action=com.ibm.team.scm.browseElement&snapshotItemId=_CcmutsJSEemfxMTXV99IQA&componentItemId=_Ptr1IsJQEemfxMTXV99IQA&itemType=com.ibm.team.filesystem.FileItem&itemId=_n5i8MMJQEemb6aHkLDp4cg&stateId=_AbMGBMJREemfxMTXV99IQA