Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

is there a scm cli to know the changesets delivered for a workitem

 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)

0 votes

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



One answer

Permanent link
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.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,202
× 87

Question asked: Jan 02 '15, 2:07 a.m.

Question was seen: 4,904 times

Last updated: Apr 21 '15, 5:36 p.m.

Confirmation Cancel Confirm