index > Team Foundation Server - Work Item Tracking > make Task Link tab as a required field

make Task Link tab as a required field


I have this requirement to make the Work Item Task Type to be always linked to bug,risk,etc.
Trying to prevent orphan tasks there.
Is it possible to make the links tab for task type as required field.
I tried to put the the <required /> there but it doesn't errors out while importing.
G S

Two things:

1. Rules (REQUIRED, etc) must be defined on a field; you cannot define it on a form control. Therefore you cannot make tab required - but you can definitely make required a field on that tab.

2. We do not support rules on links or link counts, therefore what you want cannot be implemented directly. As a workaround I can suggest adding two fields to your task type for storing id and type of the linked item; make them required so noone will be able to save a task without setting these fields. It won't be a link, of course, and you won't be able to validate that data, but at least you'll have some validation.

Thanks,

Alex

Aliaksei Baturytski - MSFT
reply 2

You can use google to search for other answers

 

More Articles

Using Microsoft Project with TFS Work Items
How can i create a new work item category?
Set default value for Sytem.AreaPath
Scheduling with VSTS and MS Project
Incorrect results view due to COPY rule
Error: There may be problems with the work item type definition
Strange Problem --- SQL Server 2005 and TFS and Team System
Field won't copy from another field on New Work Item Activation
Global Lists & Default Values
Readonly flag for System.ChangedBy field not possible?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Comments are lost when workitem is expor…
FROZEN rule behaviour
Query Date-Time granularity
The Team Foundation Server work item dat…
Custom Controls - anyone working with th…
Removing User option under "Assigne…
Assign Work Item on Check-Out
Work Item Classification and Project Hie…
Work item type for new feature requests?
Getting Email body part from an email us…
CreateNewWorkItem
Work Item Schema
Error TF50304 when creating project alert
Unpublished changes in Project
Can't browse work items

Hot Articles

<ALLOWEXISTINGVALUE> not valid for…
Work Item State Transition integration w…
Work Item object model - problem with ed…
TF80071 when trying to connect MPP to TFS
Comparing fields of a Work Item when fil…
About Work Items
Notification - Closed task
Way to change the order of "found i…
How to export QoS Work Item
Publishing errors when updating frozen f…
Automatically create a work item during …
Why Cant I enter start date and finish d…
Incorrect results view due to COPY rule
Calculated field in Task Work Item Type
Adding new project alerts?

Recommend Articles

Readonly flag for System.ChangedBy field…
how to get active selection
Notification - Closed task
Task "WITs" from Group "W…
Can a work item type be deleted in VSTS?
Prohibiting a user from reviewing their …
Change Project in a Excel file
Is there any way to assign two resources…
Error TF50304 when creating project alert
Way to change the order of "found i…
Transition rules
Attach a note to a work item
link work-items with other work-items , …
Updating GlobalList contents
Work item type for new feature requests?