Team Foundation Server: Customizing Work Item Workflow

We are using the agile process template of TFS 2008.

We have added a custom attribute to thework item type of Bug. The custom attribute is a list of values.

When a user checks in code and associate the check-in with a work item, they can choose a check-in action of 'Resolved'. If they do this, I want to update the custom attribute value to a specific value.

How do I accomplish that?
LVL 3
shekhar_shashiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zaengiCommented:
Hi

the Check-in action only is assignable to transitions.
So the clue would be to edit the corresponding transition and change the fields value by defining a "copy" rule on a constant value (or if you like, from an other field)
0
shekhar_shashiAuthor Commented:
Hi

Thanks for the response. Can you provide more  details?

Thanks
0
zaengiCommented:
Now, first of all.... are you familliar with transitions and states and the Process Editor?
The Process Editor comes along with the TFPT (Team Foundation Power Tools) and you can start it from the "Tools" menu of VisualStudio.

Have you already assigned the "Microsoft.VSTS.Actions.Checkin" action to a transition?

If so, then edit the transition by right click on "Open Details", switch to the "Fields" tab and select "new".
Choose the appropriate Field in the "RefName" dropdown and switch to the "Rules" tab.
Here you click "new" and choose the COPY Rule from the list.

After that you can define the value you like regarding my first comment.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server Apps

From novice to tech pro — start learning today.