[RTC] How can I find out which files in a SCM component where delivered between a given time frame?
I'm looking for a way to find out which files in a SCM component where delivered between a given time frame. I don't to look for the changesets, but for the files themselves. I have a start date and an end date and I want to know the files that where delivered to a given component in this time frame.
I've tried using the REST API to list the history of all files in a component, such as:
ttps://example.com:9443/ccm/service/com.ibm.team.scm.common.internal.rest.IScmRestService/history?workspaceItemId={workspace id}&componentItemId={component id}
But is not not exactly what I need, because I would need to build something to filter the XML and find the files delivered between the start date and the end date. I also took a look at the lscm command line, but couldn't find an exact match there either.
Does anyone know a simple way to do this?
Thanks!!
I've tried using the REST API to list the history of all files in a component, such as:
ttps://example.com:9443/ccm/service/com.ibm.team.scm.common.internal.rest.IScmRestService/history?workspaceItemId={workspace id}&componentItemId={component id}
But is not not exactly what I need, because I would need to build something to filter the XML and find the files delivered between the start date and the end date. I also took a look at the lscm command line, but couldn't find an exact match there either.
Does anyone know a simple way to do this?
Thanks!!
Accepted answer
Did you try the command 'lscm list changesets' which takes in a workspace/stream and/or component and start/end dates. This is similar to the Search->JazzSource Control->ChangeSets... menu in the Eclipse client. It returns a list of change sets and you can loop over each change set and use 'lscm list changes <changesetuuid>' to list the files in the change sets.
Comments
1 vote
1 vote
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jun 25 '15, 6:16 p.m.1 vote
Andre Gusmao
Jun 26 '15, 10:43 a.m.