Change set association and work item state
Is there a way to prevent a change set from being associated with a work item, depending on the state of that work item?
For example, I was just able to associate a change set to a work item that is in the closed state. Our current process (with another SCM tool) doesn't allow this.
I poked around in the process configuration but I couldn't see anything jumping out at me that would allow this to be configured (though I certainly may have missed it).
For example, I was just able to associate a change set to a work item that is in the closed state. Our current process (with another SCM tool) doesn't allow this.
I poked around in the process configuration but I couldn't see anything jumping out at me that would allow this to be configured (though I certainly may have missed it).
Accepted answer
In RTC-3.0, there is a built-in process hook for that specific use case
(associating a change-set with a closed work item). You can find it in
Team Configuration -> Operation Behavior -> Source Control -> Save
Change Set Links -> Precondition -> Restrict Associating to Closed Work
Item.
Cheers,
Geoff
On 1/5/2011 3:08 PM, carej wrote:
(associating a change-set with a closed work item). You can find it in
Team Configuration -> Operation Behavior -> Source Control -> Save
Change Set Links -> Precondition -> Restrict Associating to Closed Work
Item.
Cheers,
Geoff
On 1/5/2011 3:08 PM, carej wrote:
Is there a way to prevent a change set from being associated with a
work item, depending on the state of that work item?
For example, I was just able to associate a change set to a work item
that is in the closed state. Our current process (with another SCM
tool) doesn't allow this.
I poked around in the process configuration but I couldn't see
anything jumping out at me that would allow this to be configured
(though I certainly may have missed it).