RTC/EWM - Get Snapshot UUID from Operation History StateID
Hello Jazz Support, maybe you can help me with a small question.
Question: is it possible to use the scm cli and a workspace_history of a workspace to get a snapshot UUID of a snapshot created in that workspace? If so, how?
Background:
Our project has a stream which is used to contain and document the history of a project. For specific releases, we will create a snapshot.
Generally the snapshot will be owned by this stream, but it is possible to change the owner of a snapshot. If the snapshot owner changes, the ownedBy value will change and will lose the information of where that snapshot was originally made. The streamĀ maintains an operation history showing that the snapshot was made using that stream in the workspace_history, but the available data does not list the snapshot UUID, rather it only reports the snapshot name which may be duplicated/ambiguous.
We are wondering if maybe there are operations available which use the stateID to get further details about that state of that stream at that time?
what we get from show operations:
{
"components": 2, "contributor": "contributor-name", "date": "15-Aug-2024 06:22:24 PM", "details": [ "snapshot-name" ], "operation": "CREATE_BASELINE_SET", "stateId": "_X3o-kVV7Ee-M_d2M6LFWFQ_gDp_RupzEe6qYtozw1AXUwMw==" }what we had hoped to see:
|
One answer
adding the --verbose option lists the snapshot uuid from the 'show operations' scm cli command. |
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.
Comments
This is a forum and not Jazz support see the guidelines: https://jazz.net/forum-guidelines.jsp .