is there a scm cli to know the changesets delivered for a workitem
![]()
shalini saini (16●20●27)
| asked Jan 02 '15, 2:07 a.m.
retagged Jan 05 '15, 6:40 p.m. by Abraham Sweiss (2.4k●13●31)
I want to know if there is a scm cli to know the change sets of a workitem delivered to a snapshot/stream?
Below cli only tells about the number, I want the detail of changeset.
i.e. which two changesets out of 4 were not delivered.
./scm changeset locate -W 96704 -w inttest -r rtcuser
(7999) "inttest" (2 of 4)
|
One answer
![]()
I don't think you can get delivered status of change sets associated with a work item using command line.
The following command will list changesets associated with a work item - >lscm list changesets -W 96704 -r https://localhost:9443/jazz The following command will list all changesets created by a user >lscm list changesets -r https://localhost:9443/jazz --creator testJazzUser1 You can add -j option at the end to more details of changesets in jason format which will also include status. >lscm list changesets -r https://localhost:9443/jazz --creator testJazzUser1 -j The work items only capture changesets and not the stream/workspace they were flowing to. The status of a changeset can be active or complete. A completed changeset may have been delivered to multiple streams. A changeset does not have delivered state. The delivered status of a changeset is relative to a stream only. If you change the flow target to another stream, all at sudden your change set is not delivered. You can think of 'delivered' more like 'found' and you can use 'locate' command to find a changeset in a workspace or stream. A completed changeset can be found in multiple workspaces or streams and therefore a work item does not tell if a changeset has been delivered. |
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
I would suggest testing the scm query parameter. I have not used, but it looks promising
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/query_ex.html&scope=null