It's all about the answers!

Ask a question

Restrict change set association to in-progress WI


Alex Mulholland (712111) | asked Jan 18 '11, 3:22 p.m.
Hi,
We are already preventing change set association with closed work items through use of the provided 'protectClosedChangeSetsAdvisor'. We would like to go further and limit change set association only to work items that are in the 'In Progress' state. Is there a way of doing this without writing our own Operation Advisor? If not, are there any sites that are sharing operation advisors or other plugins for RTC?
Thanks, Alex.

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 19 '11, 12:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't believe RTC-3.0 provides out-of-the box declarative process for
limiting change set association to work items in the In Progress state
(SCM team: please correct me, if I got that wrong). We are looking into
providing a site for sharing code for things like operation advisers,
but I don't believe we have one up and running yet.

Cheers,
Geoff

On 1/18/2011 3:23 PM, amulholl wrote:
Hi,
We are already preventing change set association with closed work
items through use of the provided 'protectClosedChangeSetsAdvisor'.
We would like to go further and limit change set association only to
work items that are in the 'In Progress' state. Is there a way of
doing this without writing our own Operation Advisor? If not, are
there any sites that are sharing operation advisors or other plugins
for RTC?
Thanks, Alex.

permanent link
Evan Hughes (2.4k1318) | answered Jan 19 '11, 10:33 a.m.
JAZZ DEVELOPER
The protectClosedChangeSetsAdvisor prevents change set links to any state that's considered closed, so you could mark all states other than "In Progress" as closed, and that would prevent linking. I suspect that would have a negative effect on the rest of the product, however.

I've added a feature request for your use case. See bug 150391.

As to sharing advisors: we don't have a mechanism to do that, but it's a good idea. See bug 150393.

e

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 20 '11, 1:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To confirm Evan's suspicion, it would be very bad to have the "new"
state categorized as "closed" ... your planning load/progress metrics
would be completely broken. So don't do that (:-).

Cheers,
Geoff

On 1/19/2011 10:38 AM, echughes wrote:
The protectClosedChangeSetsAdvisor prevents change set links to any
state that's considered closed, so you could mark all states other
than "In Progress" as closed, and that would prevent
linking. I suspect that would have a negative effect on the rest of
the product, however.

I've added a feature request for your use case. See
bug
150391.

As to sharing advisors: we don't have a mechanism to do that, but it's
a good idea. See
bug
150393.

e

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.