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

List iteration resolved work items in Ant build.xml script

Hi, I need to list all of the resolved work items, sort by date, with the most recently resolved listed first in the project Ant build script.

My project is not using the RTC build yet, so we just have this standalone build.xml that runs all the build tasks ( no RTC source control yet too, we are using ClearCase) and need to generate a simple text report with the resolved iteration work items from RTC.
Is there a clever way of doing this or do I need to write a custom Ant task using the RTC build toolkit to do this?

Thanks!
Alexandre

0 votes



4 answers

Permanent link
When you say "list all of the resolved work items", do you mean:
- since the last build, or
- all of the resolved work items in the build in the "current iteration"
- something else?

If you are thinking about something like the "show changes" view in the
Jazz build report, then that is the first query (i.e. "all work items
containing changes added since the last build"). Note that this report
is not affected by the status of the work item (i.e. the work item might
still be in progress), but is just "work items that contain change sets
that have been added since the last build".

And also note that this report is the result of a query to the RTC SCM
component (to get the list of change sets), and then a query to the RTC
link component (to find the work items that are linked to those change
sets). So it is not just a question of writing a custom Ant task, but
also a question of computing that information from ClearCase (e.g.,
running a diffbl, assuming you are using SCM).

Cheers,
Geoff

alexandrevs wrote:
Hi, I need to list all of the resolved work items, sort by date, with
the most recently resolved listed first in the project Ant build
script.

My project is not using the RTC build yet, so we just have this
standalone build.xml that runs all the build tasks ( no RTC source
control yet too, we are using ClearCase) and need to generate a
simple text report with the resolved iteration work items from RTC.
Is there a clever way of doing this or do I need to write a custom Ant
task using the RTC build toolkit to do this?

Thanks!
Alexandre

0 votes


Permanent link
Hi Geoff, I need to list all of the resolved work items in the build in the "current iteration".

Can I get it done from my Ant build script?


Thanks!
Alexandre

When you say "list all of the resolved work items", do you mean:
- since the last build, or
- all of the resolved work items in the build in the "current iteration"
- something else?

If you are thinking about something like the "show changes" view in the
Jazz build report, then that is the first query (i.e. "all work items
containing changes added since the last build"). Note that this report
is not affected by the status of the work item (i.e. the work item might
still be in progress), but is just "work items that contain change sets
that have been added since the last build".

And also note that this report is the result of a query to the RTC SCM
component (to get the list of change sets), and then a query to the RTC
link component (to find the work items that are linked to those change
sets). So it is not just a question of writing a custom Ant task, but
also a question of computing that information from ClearCase (e.g.,
running a diffbl, assuming you are using SCM).

Cheers,
Geoff

alexandrevs wrote:
Hi, I need to list all of the resolved work items, sort by date, with
the most recently resolved listed first in the project Ant build
script.

My project is not using the RTC build yet, so we just have this
standalone build.xml that runs all the build tasks ( no RTC source
control yet too, we are using ClearCase) and need to generate a
simple text report with the resolved iteration work items from RTC.
Is there a clever way of doing this or do I need to write a custom Ant
task using the RTC build toolkit to do this?

Thanks!
Alexandre

0 votes


Permanent link
To do, this, you would have to be using UCM. And then you would have to
associate UCM activities with RCM work items (such as is done by the new
ClearCase Bridge that is planned for RTC-2.0). Then you would have to
write an Ant script that calls diffbl on the baseline for your build
(comparing it with the "initial baseline" of that component). And then
you would need to lookup all of the work items that are associated with
any UCM activity that is reported by that diffbl.

Cheers,
Geoff

alexandrevs wrote:
Hi Geoff, I need to list all of the resolved work items in the build
in the "current iteration".

Can I get it done from my Ant build script?


Thanks!
Alexandre

gmclemmwrote:
When you say "list all of the resolved work items", do you
mean:
- since the last build, or
- all of the resolved work items in the build in the "current
iteration"
- something else?

If you are thinking about something like the "show
changes" view in the
Jazz build report, then that is the first query (i.e. "all work
items
containing changes added since the last build"). Note that
this report
is not affected by the status of the work item (i.e. the work item
might
still be in progress), but is just "work items that contain
change sets
that have been added since the last build".

And also note that this report is the result of a query to the RTC
SCM
component (to get the list of change sets), and then a query to the
RTC
link component (to find the work items that are linked to those
change
sets). So it is not just a question of writing a custom Ant task,
but
also a question of computing that information from ClearCase (e.g.,

running a diffbl, assuming you are using SCM).

Cheers,
Geoff

alexandrevs wrote:
Hi, I need to list all of the resolved work items, sort by date,
with
the most recently resolved listed first in the project Ant build
script.

My project is not using the RTC build yet, so we just have this
standalone build.xml that runs all the build tasks ( no RTC source
control yet too, we are using ClearCase) and need to generate a
simple text report with the resolved iteration work items from RTC.
Is there a clever way of doing this or do I need to write a custom
Ant
task using the RTC build toolkit to do this?

Thanks!
Alexandre

0 votes


Permanent link
Thanks for the information!

Cheers,
Alexandre

To do, this, you would have to be using UCM. And then you would have to
associate UCM activities with RCM work items (such as is done by the new
ClearCase Bridge that is planned for RTC-2.0). Then you would have to
write an Ant script that calls diffbl on the baseline for your build
(comparing it with the "initial baseline" of that component). And then
you would need to lookup all of the work items that are associated with
any UCM activity that is reported by that diffbl.

Cheers,
Geoff

alexandrevs wrote:
Hi Geoff, I need to list all of the resolved work items in the build
in the "current iteration".

Can I get it done from my Ant build script?


Thanks!
Alexandre

gmclemmwrote:
When you say "list all of the resolved work items", do you
mean:
- since the last build, or
- all of the resolved work items in the build in the "current
iteration"
- something else?

If you are thinking about something like the "show
changes" view in the
Jazz build report, then that is the first query (i.e. "all work
items
containing changes added since the last build"). Note that
this report
is not affected by the status of the work item (i.e. the work item
might
still be in progress), but is just "work items that contain
change sets
that have been added since the last build".

And also note that this report is the result of a query to the RTC
SCM
component (to get the list of change sets), and then a query to the
RTC
link component (to find the work items that are linked to those
change
sets). So it is not just a question of writing a custom Ant task,
but
also a question of computing that information from ClearCase (e.g.,

running a diffbl, assuming you are using SCM).

Cheers,
Geoff

alexandrevs wrote:
Hi, I need to list all of the resolved work items, sort by date,
with
the most recently resolved listed first in the project Ant build
script.

My project is not using the RTC build yet, so we just have this
standalone build.xml that runs all the build tasks ( no RTC source
control yet too, we are using ClearCase) and need to generate a
simple text report with the resolved iteration work items from RTC.
Is there a clever way of doing this or do I need to write a custom
Ant
task using the RTC build toolkit to do this?

Thanks!
Alexandre

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: May 11 '09, 10:09 a.m.

Question was seen: 7,216 times

Last updated: May 11 '09, 10:09 a.m.

Confirmation Cancel Confirm