It's all about the answers!

Ask a question

Approve a work item, not change set?


Makson Lee (41024241) | asked Apr 22 '12, 10:14 p.m.
Change set can be removed from an approved work item, and then a new one (unrelated to the original work item) can be added, so we don't know which change set has been really approved, right?

Regards,
Makson

5 answers



permanent link
David Olsen (5237) | answered Apr 23 '12, 1:09 a.m.
JAZZ DEVELOPER
On 4/22/12 19:23 , cdlee wrote:
Change set can be removed from an approved work item, and then a new
one (unrelated to the original work item) can be added, so we don't
know which change set has been really approved, right?

Correct, at least by default. But that behavior is configurable.

The operation Source Control > Save Change Set Links and Comments has an
available precondition, Prevent Linking to Approved Work Items, whose
purpose is to prevent attaching the new change set to the already
approved work item. If you configure your process to use that
precondition, you can make it difficult or impossible to switch the
change set after the work item has been approved. (That precondition is
available in RTC 4.0. I don't have a 3.0 server and client handy to
check if it was there in 3.0.)

--
David Olsen | IBM Rational | Jazz Process Team

permanent link
Makson Lee (41024241) | answered Apr 23 '12, 2:42 a.m.
Hi David,

Thanks for your explanation, we are using RTC 3.0.1.3, but i can't find that precondition :(

Makson

That precondition is available in RTC 4.0. I don't have a 3.0 server and client handy to check if it was there in 3.0

permanent link
Makson Lee (41024241) | answered May 02 '12, 12:23 a.m.
One more question, what if we approve a work item with an incomplete change set attached? User can then still add more changes into the incomplete change set?

permanent link
David Olsen (5237) | answered May 02 '12, 4:22 p.m.
JAZZ DEVELOPER
On 5/1/12 21:38 , cdlee wrote:
One more question, what if we approve a work item with an incomplete
change set attached? User can then still add more changes into the
incomplete change set?

Correct. If you want to avoid that, then approvers need to get in the
habit of never approving a work item that has an incomplete change set.

I don't know of a precondition that will enforce that, but I haven't
looked for one.

--
David Olsen | IBM Rational | Jazz Process Team

permanent link
Makson Lee (41024241) | answered May 02 '12, 7:36 p.m.
Or maybe we should have a postcondition to complete an incomplete change set after approving, keep a change set incomplete is useful if it is rejected, so that we can work on the same change set.

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.