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

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
Hi, Geoff

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

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: Mar 21 '12, 12:35 p.m.

Question was seen: 3,914 times

Last updated: Mar 21 '12, 12:35 p.m.

Confirmation Cancel Confirm