Auto work item status change when associating a changeset?
Hi
When I make a change and associate the changeset with a work item, it seems strange to me that the work item can be a status of New both before and after the asociation
I guess I'm wondering two things:
1. Can I prevent an association to a Work Item that's at the "New" state and force the owner to at least change the state to "In Progress" first? I'd rather know a work item is actually being worked at the time he/she starts working on it rather than when he/she is about to associate the changes to it so it might encourage him/her to change its state
2. If I can't do 1. then is there a way of automatically moving the work item's status from "New" to "In Progress" (or some other from/to state) when associating a changeset to it?
Thanks
David
n.b. I'm using 3.0.1.2
When I make a change and associate the changeset with a work item, it seems strange to me that the work item can be a status of New both before and after the asociation
I guess I'm wondering two things:
1. Can I prevent an association to a Work Item that's at the "New" state and force the owner to at least change the state to "In Progress" first? I'd rather know a work item is actually being worked at the time he/she starts working on it rather than when he/she is about to associate the changes to it so it might encourage him/her to change its state
2. If I can't do 1. then is there a way of automatically moving the work item's status from "New" to "In Progress" (or some other from/to state) when associating a changeset to it?
Thanks
David
n.b. I'm using 3.0.1.2
2 answers
There is no out-of-the-box precondition that prevents associating a change-set with a New work item (there is one that prevents association with a Closed work item). But you could code up your own precondition for this.
Similarly, you could code up your own follow-up action that automatically transitions to an active state. What I don't know is whether there is a "generic" way to do this, or whether your code would need to know the specific state that you want to transition to for each work item type. Perhaps someone else knows about a generic way to do that.
Cheers,
Geoff
Similarly, you could code up your own follow-up action that automatically transitions to an active state. What I don't know is whether there is a "generic" way to do this, or whether your code would need to know the specific state that you want to transition to for each work item type. Perhaps someone else knows about a generic way to do that.
Cheers,
Geoff
Hi
When I make a change and associate the changeset with a work item, it seems strange to me that the work item can be a status of New both before and after the asociation
I guess I'm wondering two things:
1. Can I prevent an association to a Work Item that's at the "New" state and force the owner to at least change the state to "In Progress" first? I'd rather know a work item is actually being worked at the time he/she starts working on it rather than when he/she is about to associate the changes to it so it might encourage him/her to change its state
2. If I can't do 1. then is there a way of automatically moving the work item's status from "New" to "In Progress" (or some other from/to state) when associating a changeset to it?
Thanks
David
n.b. I'm using 3.0.1.2
Hi, Geoff
Thanks for your reply
Regards
David
Thanks for your reply
Regards
David
There is no out-of-the-box precondition that prevents associating a change-set with a New work item (there is one that prevents association with a Closed work item). But you could code up your own precondition for this.
Similarly, you could code up your own follow-up action that automatically transitions to an active state. What I don't know is whether there is a "generic" way to do this, or whether your code would need to know the specific state that you want to transition to for each work item type. Perhaps someone else knows about a generic way to do that.
Cheers,
Geoff
Hi
When I make a change and associate the changeset with a work item, it seems strange to me that the work item can be a status of New both before and after the asociation
I guess I'm wondering two things:
1. Can I prevent an association to a Work Item that's at the "New" state and force the owner to at least change the state to "In Progress" first? I'd rather know a work item is actually being worked at the time he/she starts working on it rather than when he/she is about to associate the changes to it so it might encourage him/her to change its state
2. If I can't do 1. then is there a way of automatically moving the work item's status from "New" to "In Progress" (or some other from/to state) when associating a changeset to it?
Thanks
David
n.b. I'm using 3.0.1.2