Looking to use scm query for finding files that have been modified in a date range. Has anyone done this?
We would like to find all files within a project area or a component that have been modified with a date range.
I assume this is possible using 'lscm query --file" command.
However, I am not able to find the complete details of all the arguments of for the --file option.
http://www.ibm.com/support/knowledgecenter/SS2L6K_6.0.2/com.ibm.team.scm.doc/topics/query.html
|
One answer
Shashikant Padur (4.3k●2●7)
| answered Nov 29 '16, 11:16 p.m.
JAZZ DEVELOPER edited Nov 29 '16, 11:17 p.m.
I believe it supports the following:
attribute_name = attribute_value
has_attr(attribute_name)
in_baseline(baseline_uuid)
I don't think you could provide a date as the attribute because the date attribute would be for a change set and not for the file.
scm list changesets --workspace <workspace> --component <component> --created-after <date> --create-before <date>
and then list the changes in each of the change sets returned
scm list changes <changeset uuids...>
Note: The same file may be part of multiple change sets.
Take a look at the help for the above commands for more information
|
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.