It's all about the answers!

Ask a question

How to obtain a changeset's component using [l]scm list changesets?


Garrett Rolfs (8389) | asked Oct 08 '20, 12:01 p.m.
edited Oct 08 '20, 6:51 p.m. by David Lafreniere (4.8k7)

 Using

[l]scm list changesets --created-after
makes it easy to determine if a repository has had any recent SCM activity. The resulting json output does not include the changesets' components. Without resorting to using the Plain Java Client Libraries, is there a way to get a changeset's component using the scm cli?

Accepted answer


permanent link
Shashikant Padur (4.2k27) | answered Oct 09 '20, 2:36 a.m.
JAZZ DEVELOPER
edited Oct 09 '20, 2:38 a.m.

You can get the component info using the 'list changes' command. The list changes command accepts the change set uuid/alias as the input and the output shows the component and the changes(files/folders) within the change set.

Garrett Rolfs selected this answer as the correct answer

Comments
Garrett Rolfs commented Oct 09 '20, 8:40 a.m.

 Thank you! I don't know how I missed that. My eyes skipped immediately to the work item information.

Your answer


Register or 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.