I created a custom TFS process template with altered work items. After I uploaded the template to TFS and began testing the new process, I realized I had forgot some state transitions for one of the work items. I altered the XML to include the new transition states and uploaded the process template to TFS again. However, the new transition states are still not showing up in the state drop down list. Is there something else I need to do to refresh the work item or the process template so the new transition states appear in the state drop down list?
You must refresh TFS data from Team Explorer as described here.
Related
I just install a new copy of Azure DevOps Server (TFS) to my own computer.
the only work items I can use right now are: "Epic", "Issue" & "Task".
Now my Question is:
How can I add the work items "User Story", "feature"& "Bug"?
Thanks any help will be appreciated.
Because when you created the team project you chose Basic process template, you need to choose Agile/Scrum/CMMI.
Try to create a new project with Agile/Scrum/CMMI process template.
See here more info.
Agree with Shayki Abramczyk.
How can I add the work items "User Story", "feature"& "Bug"?
We could create work item via Agile process, then we could add work items User Story, Feature and Bug.
If you still want to use Basic Process template and your TFS version is Azure DevOps Server 2019 or later versions. You could create collection via Inheritance process model, then open Collection Settings->Process->select Inheritance process->click the button New work item type to add new work item type.
If you are using On-premises XML process model, you could refer to this doc to add work item type.
I want to prevent my users from logging work once an issue gets to a particular status. How can I accomplish this?
I have a post-function in my workflow that sets the Resolution, but the "Log Work" item in the More menu still shows up.
I don't see in the Project or System administration any options about it.
You can accomplish this by setting jira.issue.editable to false in the properties of the status in the workflow.
Find the active workflow that applies to the issues you wish change. This is most easily done by either: going to the 'Workflow Schemes' admin page, then clicking on the Workflow link in the row applying to the issues' project and issue type, or clicking View Workflow in the Issue View.
To edit the workflow, you will need to either create a copy of it (if using the default jira system workflow) or edit the draft of the workflow.
In the Workflow Editor, for the 'Closed' step, click View Properties (in Text mode) or Properties (in Diagram mode) to see the step properties.
Editing issues in the selected step is enabled by default, or you will see a jira.issue.editable property with value true. Either create the value or chang the property value to false.
Publish your draft workflow, or if editing a copy, activate the workflow by creating a new workflow scheme associated with the edited workflow, and then associating it with your project.
Reference: https://confluence.atlassian.com/jira/allow-editing-of-closed-issues-138704.html
Does TFS 2013 have the ability to automatically add Templated tasks to a work item?
So I create a work item, it automatically adds some tasks for it such as Code, Test, CodeReview, HelpGuide
Can you guide me to the right place to read about it if it has this ability.
Built-in? Then no.
There is an open source TFS Serverside plugin, called TFS Aggregator which will allow you to run a piece of code every time a workitem changes. Creating subtasks when a parent task changes state or is created is a piece of cake.
See:
https://github.com/tfsaggregator/tfsaggregator/releases
https://github.com/tfsaggregator/tfsaggregator/wiki/Auto-Create-Children
If you don't want to run a server side handler, then you may be able to use a script (powershell can do pretty powerful things when using the Client Object Model).
Or you can use the copy-paste magic of the Excel plugin for TFS. Simply put the tasks you want to create on the clipboard (without an ID) then use the "Insert Rows" paste option to paste them directly under their prospective parent (in a tree based query). Upon publishing the tasks will be associated to the parent. Play with the Title 1, Title 2, Title 3 etc fields to control the nesting.
I am creating Custom Process Template for TFS2015. I want that all firutes will be configured automaticaly. One feature what I need it is that some alerts was set up automaticaly when I create new project.
Does it possible that I change standart CMMI template that when I create project some alerts set up automaticaly? If yes, could you give example of configuration?
No, it's not possible. Process templates define the objects and processes available to you when you create a team project. By customizing a process template, you customize one of more objects or processes. Common types of customizations you can make include:
Add a new field to an existing work item types (WIT)
Modify the pick list of values for a field
Change the workflow─States, Reasons, Transitions, Actions─of an existing work item type
Edit the layout of a work item form
Add or remove a work item type
Change process configuration or defaults associated with Agile tools
Instead of changing process template, you need to use Alert setting to receive email notifications for alerts that you define. Choose from one of the several alert types listed:
In TFS 2013, in the Backlog view, I change the columns to be displayed, the order and the size, with the "Column options" button. It works fine.
But later, I modify that for all users by editing process file (using witadmin command). Now, all users but me have the same layout.
How can I reset my layout to have the default one too ?
Once you have customized your view, TFS has a record squirreled away in its bowels saying, "Hey, this person has a custom view, ignore the default in the process file."
There is no way via the web interface (or Visual Studio) to get rid of that and default back to the default.
If you have access to the DB backing your TFS installation, you can look through the schema and figure out which records represent the customizations you have made and delete those.
That's about it really.