Reset TFS work item templates to latest version? - tfs

Is there a way to reset or start over with the latest version TFS work item template? I do not care about any existing work item history.
Scenario: I have a TFS project that has code, but never used work items. The existing template is too old to use the automatic Configure Features wizard tool. It is ok to mess up any work item history.
Is this possible? Thank you!

Have a look at TFS-PowerTools
The built in Work Item Templates should override your existing ones. That might even work before updating, but i'd not recommend that try.
We had this trouble once too. A coworker fixed this after doing some kind of Troubleshooting guide. (Let me check tomorrow if i can find that one again)
Let me know if that helped!

Take a look at https://nkdagility.com/tfs-process-template-migration-script-updated/
It covers off what you need to do, and includes some PowerShell to help you.

Related

How to backup/restore a JIRA project configuration

is there a way to backup a JIRA project configuration and then restore?
The issue I have is that sometimes doing workflows changes I can break the whole configuration.
So, I'm looking for a way to easily rollback to the previous working version of the project configuration.
Please note that I cannot rollback the whole JIRA server as it will affect other projects.
We are using the latest version of the Jira Service Desk on premises.
Thanks,
Please, see full answer here.
You can't.
JIRA does a full export of everything, and you can import
the issues from one project from that. But that's it. If you need
single project backups with configuration, you'll need extra
functionality. This is exactly the case where I would reach for
Botron's tool -
https://marketplace.atlassian.com/plugins/com.botronsoft.jira.configurationmanager
Whenever you publish a change to a workflow, JIRA asks you if it has to save a copy of the original. If you do that, it should be easy to revert to a previous version. Still it gets cumbersome to manage lots of copies of a workflow and to understand what changed when.
If you want a bit more control, you can also export your workflow to xml and keep that somewhere. If you need to rollback, you can import from that xml again. For more details see the documentation here.
If you want even more control, then add-ons like Botron's configuration manager can indeed be useful.

TFS 2012 - How to Differentiate "Done" vs "Deployed"?

How does your team differentiate TFS work items that are "done" (development/testing complete) vs. "deployed" (live in Production)?
My first option would be to use a Tag to mark this. You can query and filter through them.
Another option would be to customize the work item types with an additional field, but this route is a bit more complex.
Change your Definition of Done to include: Deployed. Doing that you will have code working in production. If is needed more work, is not done.
But I guess you´re asking about how to have a new status. You can modify the workflow template to include this new state. In older versions of TFS you only can do that before to create the project, not in an started project. I don´t know in the latest version.

Adding Revisions to TFS Work Item using c# code

I'm copying bug items from one tfs project to another.
I'm using the copy method to create the bug in the new project, but the bug is not copied with the history details (revisions).
I need the history field to see all changes that were made and also free text that we're adding when changing States.
I tried going over each Revision item but there is no way to add the revision item to the new work item, and i can't find a way to retrieve the data I need from the Revision object.
Does anyone know how to get the information?
There is a project on Visual Studio Gallery: http://visualstudiogallery.msdn.microsoft.com/cd89c5d3-4816-4f22-b04e-a397cc606be6
I have not tried this, but maybe it can be helpful.
You can use the TFS Integration Platform to move or copy projects (including work items) from one TFS project to another, or one server to another. I have not tried moving just work items, though.

Spell Checker for TFS Work Items

I want to be able to check my spelling (and grammar) when I am entering text into work item fields (for example a PBI or Bug) in TFS VS2010. I found this addon and installed it. Is there anything else should I do besides run the installer? I can not find any spell checking buttons when I am inputting work items.
Any idea why this is happening?
What is wrong with the installation?
Is there any better way to add spell checking capability to work items in TFS?
After Installing the Custom Control you still need to manualy add the custom control to you work item definition.
Best way to do this is using the Process Editor from TFS Power Tools: http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f
Hope this helps.
Regards,
Adam

TFS-Workitem

I have a requirement and I am not able to figure out the solution. Any kind of help is appreciated.
We have customised the process model.
Issue.
I have FactTable say Release, Release has Project, projects would internally have different states, development-production-QA. what i need to do is generate a query that would get me all the defects that are open for a particular project, for a selected stage and selected release.
Is this possible?
Can we write sub query in TFS?
I would appreciate any kind of help provided.
If I had to do it, I would make itrations for: development, production, and QA.
Then iterations shows everywhere from the simple query to the TFS Warehouse!
You can consider Release as team Project Collection, then Project as team Project. For development-production-QA stages you can either use Area or create a custom work item field "Stage" with reportable attribute as "dimension".
Now you can use wither TFS_Analysis i.e. Cube or TFS_Warehouse to get your data.

Resources