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

How do you find defects that's been included in the builds?

Not sure if this has been asked before, but we're trying to do a query of all the defect fixes that have been included in the daily builds for a given period of time. I know in that in the build logs, you can drill down and find out what defects changes have been included in a particular build. Is there a query, custom or canned that I can run that will show me all the defects that has been included in a build? Thanks.

0 votes



5 answers

Permanent link
The list of (new) work items in the build is computed by comparing the
snapshot created for the current build with the snapshot created for the
preceding successful build (from that build definition). That snapshot
comparison actually produces a list of change sets ... to get the work
items, you ask for the work items associated with those change sets.

The Change Explorer view will let you compare two arbitrary snapshots,
and the "show change sets" display will list the first work item
associated with each change set, so this would get you close. I've
submitted work item 107566 to request a "show work items" option for the
Change Explorer view, so that:
- a given work item shows up only once in the list (even when multiple
change sets are linked to the same work item)
- all associated work items appear in the list (even when a change set
is linked to more than one work item).

Cheers,
Geoff

egaona wrote:
Not sure if this has been asked before, but we're trying to do a query
of all the defect fixes that have been included in the daily builds
for a given period of time. I know in that in the build logs, you
can drill down and find out what defects changes have been included
in a particular build. Is there a query, custom or canned that I
can run that will show me all the defects that has been included in a
build? Thanks.

0 votes


Permanent link
The list of (new) work items in the build is computed by comparing the
snapshot created for the current build with the snapshot created for the
preceding successful build (from that build definition). That snapshot
comparison actually produces a list of change sets ... to get the work
items, you ask for the work items associated with those change sets.

The Change Explorer view will let you compare two arbitrary snapshots,
and the "show change sets" display will list the first work item
associated with each change set, so this would get you close. I've
submitted work item 107566 to request a "show work items" option for the
Change Explorer view, so that:
- a given work item shows up only once in the list (even when multiple
change sets are linked to the same work item)
- all associated work items appear in the list (even when a change set
is linked to more than one work item).

Cheers,
Geoff


Geoff, thanks for the tip on the Change explorer. As for the WI 107566, definitely looking forward to seeing that feature.

Take it easy.
Enrique

0 votes


Permanent link
The list of (new) work items in the build is computed by comparing the
snapshot created for the current build with the snapshot created for the
preceding successful build (from that build definition). That snapshot
comparison actually produces a list of change sets ... to get the work
items, you ask for the work items associated with those change sets.

The Change Explorer view will let you compare two arbitrary snapshots,
and the "show change sets" display will list the first work item
associated with each change set, so this would get you close. I've
submitted work item 107566 to request a "show work items" option for the
Change Explorer view, so that:
- a given work item shows up only once in the list (even when multiple
change sets are linked to the same work item)
- all associated work items appear in the list (even when a change set
is linked to more than one work item).

Cheers,
Geoff


Geoff, thanks for the tip on the Change explorer. As for the WI 107566, definitely looking forward to seeing that feature.

Take it easy.
Enrique

What if the build is done for the first time from a newly created Build Definition? How does the work item gets associated with the build then?

Thanks,
Binoy

0 votes


Permanent link
On 7/14/2010 5:51 PM, binoy3012 wrote:
What if the build is done for the first time from a newly created
Build Definition? How does the work item gets associated with the
build then?

Thanks,
Binoy

You will see all the new WIs associated with all the new Change Sets
included in this first build (that means ALL). There is no difference in
behavior between the first and next build executions....

Regards,

Chemi.

0 votes


Permanent link
There is a difference between the build result's Work Items link and its Changes link.

The Changes link is based off of snapshot comparison with the previous (completed, non-personal) build, so it is not available for the first build.

The Work Items link is based off of "included in build" links between the build result and work items, created when the change sets associated with the work items are accepted into the build workspace. If the build workspace is empty at the start of the first build, and all contents from the stream get accepted (the usual case), then yes, as Chemi says, it will include all work items for all change sets in the stream.

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

Question asked: Mar 01 '10, 5:58 p.m.

Question was seen: 8,568 times

Last updated: Mar 01 '10, 5:58 p.m.

Confirmation Cancel Confirm