It's all about the answers!

Ask a question

search for changesets delivered during a specific timeframe


Andrew Pham (2111) | asked Sep 21 '11, 5:53 p.m.
retagged Jun 09 '14, 10:56 a.m. by David Lafreniere (4.8k7)
Hi,

I've been trying to find out a way to look for changesets delivered during a specific timeframe, e.g. the last 12 hours. I found that creating snapshots is one way to do this but trying to find a less invasive way (like without having to create and checkin stuff). I've been looking around a bit but haven't found anything yet. Be able to do this with a query would be nice but it seems like query is for work items mostly.

The whole purpose of this is for debugging when someone delivered code that caused a regression. Being able to list all the changesets since the last successful execution would help pin point the culprit quicker.

Thanks,
Andy

12 answers



permanent link
Scott Russell (4688) | answered Sep 28 '11, 10:15 a.m.

Search -> Jazz Source Control -> Change sets...

Anyone know how to programmatically issue those searches?
The change set search cannot specify a time window when they were delivered to the stream. It can only check the change set creation date.

I would recommend the best practice to be using the JBE to perform the builds. It creates snapshots of each build. When testing the build and finding a defect, the build snapshot can be compared to the last known good build to determine the changes.

For any other use case, an enhancement work item will be necessary since there is no current way to retrieve all delivered change sets in the past X hours.

I'm OK with post processing the results from a change set search and in fact might be better. Would be fairly trivial to iterate thru the list and capture the change sets between two build entries. However, I not aware on how to craft a similar query programmatically. (preferably via the OSLC REST interface)


ICSW Team Default Component

Test Build 1.23.20110829 <<--
disable scratchpadhandle for APARs [22654]
Made FixName Maintenance Delivery Vehicle Number field made alpha numeric [22481]
Needed to remove whitespace from FI/FA prepopulated answers [22634]
Test Build 1.23.20110825 <<--

permanent link
David Lafreniere (4.8k7) | answered Jun 06 '14, 4:34 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
The whole purpose of this is for debugging when someone delivered code that caused a regression. Being able to list all the changesets since the last successful execution would help pin point the culprit quicker.

The following feature added in Story 304215 (https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/304215) may help a little bit with what you are trying to achieve. This story will provide "Added By" and "Date Added" columns to the History view in Eclipse and Visual Studio, as well as the corresponding CLI commands. This Story has been completed for RTC 5.0.1 Sprint 1. See the following wiki for UI screenshots of this feature: https://jazz.net/wiki/bin/view/Main/AddedByInfoInHistoryView. This doesn't directly solve what you are trying to achieve, but can help you quickly see when change sets were added to a stream and who added them (this is assuming you know which stream/component/change sets you are interested in).

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.