I'm adding a custom field (date_x) of 'DateTime' type to a TFS Work Item.
I would like to add validation to prevent the input within this field from being backdated i.e. date_x must be greater or equal to today’s date.
Does anyone have any suggestions on how this could be done?
Thanks
TFS does not support date validation. But for tfs 2015 you may create a custom control (for web access and VS). Examples for custom controls you may find here:
WitCustomControls (download archive)
Related
I'm using TFS 2017 update 1 on premises.
Is there any way with TFS Aggregator to automatically modify a field value when a link (e.g. parent/child, related ecc.) is manually added to a workitem by TFS Web Interface.
You can try to identify the value changes of the field "Related Link Count"
When you add a Related work link to a work item, the field "Related Link Count" will be changed accordingly. (refname="System.RelatedLinkCount")
So, you can set the rules to modify a field value automatically based on the "Related Link Count" field changes.
First, try to follow the steps of installation on this website to install the plugin: https://github.com/tfsaggregator/tfsaggregator/wiki/Install
Then create the rules accordingly. Below are the samples you can reference:
Has any one used TFS AGGREGATOR for implementing below scenarios?
More information please refer to this link:
https://tfsaggregator.github.io/using/policy-examples/
I need to set a default value for the Retrospective tab in TFS 2015.
Factory value is the following (TEXT 1):
What worked?
What didn't work?
What will we do differently?
Using the Powertools, I add a DEFAULT rule. In the rule i specify the following default value for the Retrospective (TEXT 2):
What worked?
Please check out what you wanted to do differently in the last two sprints.
What didn't work?
What will we do differently?
So really it's just adding Please check out what you wanted to do differently in the last two sprints.
Now here comes the problem. I save my work, and if I create a sprint in Visual Studio, TEXT 2 is displayed.
If I create a Sprint in Online TFS (accessed from browser), it will show TEXT 1.
Did anyone have a similar problem in the past?
Thank You in advance!
The Sprint work item, used in TFS 2010 with the MS Scrum 1.0 process template, was removed from the Scrum process template 2.0 of TFS 2012.
However since TFS 2012, you configure the sprint schedule as part of the new Agile Planning feature, making the Sprint work item redundant.
So your options for storing the goals\retrospective:
Use a Task work item (Title, Description fields)
Add custom field in the Product Backlog Item
Use SharePoint integration - store as a document
I'd like to extend tfs, so that when I hit a specific key combo, it enters in my name and the current date into whatever text field I have the cursor currently in.
Is there a way to do this?
I was able to get Resharper to do this in code, but that doesn't' work in TFS (Darn you to heck Resharper!)
I'm running vs2013, and it's Team Explorer 2013 as well
I believe you should be able to create a Visual Studio Extension to do this. You can read about how to do that here: http://msdn.microsoft.com/en-ca/library/dd885119.aspx
I'm trying to add 3 fields to some Work Item templates in my TFS 2010 project so we can do simple release notes documents generated via reporting services.
Using the Process Editor (in TFS Power Tools Sep 2010) I have added 3 fields, all String types - "Version", "Title" and "Description". Each has had the Reportable attribute set to "Detail". I used String since it seemed only that type was reportable.
This works well and I have produced a report that shows simple release notes that I enter in Work Items.
The trouble is with my Description field. It seems the string field can be no longer than 256 characters and if I try and enter more when editing an item I get an error.
I initially considered using a field type of (ideally) HTML or PlainText but the process editor warns me it's not reportable.
So, finally my question - is there a way of increasing the length of a string field in TFS 2010?
Thanks,
Chris.
You're going to be stuck with the 256 character limit for reportable fields. However, understand what "reportable" means-- it means that it won't be replicated to the TfsWarehouse database or to the OLAP cube. You'll still be able to access it through queries within TFS / TFS Web Access, as well as through Excel integration. Most of your reporting needs may be able to be satisfied through these means.
We do this using the Advanced button on the checkin dialog now (with Merant, nee PVCS) but the Advanced button is disabled when I set TFS as my SCC provider. Is there a switch we can flip on either side to enable this?
Or do we need to write some custom extension?
Or can I get the TFS changeset number to associate with the change in PB?
Or am I coming at doing selective builds entirely the wrong way?
We can achieve what we want by creating a Note field in TFS and making it required on check in. The SCC interface will make the TFS check-in dialog appear & force the developer to enter a value in the field. We can then use the Note to find the associated changeset & do extracts based on the changeset. Thanks to all who looked at this.