index > Team Foundation Server - Build Automation > READONLY for System.IterationPath field

READONLY for System.IterationPath field


We are trying to specify the System.Iteration field to be READONLY until the workitem reaches a specific task. It seems this is a special field that doesn't allow it.

I can make the field readonly on the form but it cannot be enabled afterwards. Is there a way to accomplish this task?

Is there a documentation that provides the exceptions for special fields we have very little or no control at all?

Looking through the posts it seems people want to have most control over fields Team Systems folks deemed as special and as a result restricts the control over them. We are encouraged to reuse existing fields, we cannot control some of them, but there are restrictions on some of the field types one can have (i.e. no user-defined WorkItemClassificationControl).

Mile Petrov
Unfortunately we cannot control iteration path using rules mechanism. I heard this request from few more customers and will raise a product idea for next release. The workaround some use is to either 1) create webservice subscription on work item changes to reset values back or do post change process or 2) Create UI addins to do this additional validation (only in UI though). Another option is to build your own control to do it using SP1 beta.


http://blogs.msdn.com/narend
Naren Datha - MSFT
Thanks for the answer. I will look into the proposed options.
Mile Petrov
reply 3

You can use google to search for other answers

 

More Articles

Creating a constant in TFSBuild.proj
Is there a way to automate getting latest and doing a team build ...
BuildType download additional (unspecified) project
Customizing Team Build
Import Library Path for Team Build
TF53010 - The build request is not from the configured Team Found...
Build not finding referenced DLL
Want to only send email on a specific Build Type
Correlating Assembly Versions with Source Files
Overriding a custom property in csproj from tfsbuild.proj
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

How to override COM registration for Tea…
Build number in comments
Multiple .vsmdi files for one build type
Unit test failures
Team Build that performs builds from 2 p…
Build problem with wdproj
TFSBuild.proj ItemGroup's, AdditionalRef…
Each build does an entire get latest
Visual Build Pro scripts
Property for CoreDropBuild target
Override default drop location for each …
Developer Edition and Builds
RTM: Build Type running Test List alway…
Adding copyfiles task to build script do…
Automated Build, have trouble building …

Hot Articles

get tfs build types from api
Overridding Get task in Team Build
Build for setup project failing
Team Foundation Build status is "Fa…
Automated Build: SQL Error 8152 ("…
TFS Version Control Tasks
copy files
WorkspaceMapping reference and Map info
Cannot execute a Build - TF42045
Integrated Testing and Work Item Attribu…
Building a project which contains 2 web …
Two Build Issues
Team Build extensions
MSB3021 errors when building solution th…
Getting list of fixed bugs with each bui…

Recommend Articles

Canceling/Overriding UpdateBuildNumberDr…
Team Build with Multiple Projects fails …
MSBuild - Items in Project, Projects in …
Best Practice for Exception Management i…
Automated Build: SQL Error 8152 ("…
RTM: Build Type running Test List alway…
I got nothing After successfully fini…
Code Analysis in Team Build giving error…
Team Build Test Config Deployment Issue
Why does drop location have only the bui…
Sequentially Call Multiple Build Types
Manipulating call to AspNetCompiler in T…
Solution requiring hardcoded path to pro…
Using CustomTask To Generate BuildNumber
Build by Work Items