published on Tuesday, Mar 24, 2026 by Pulumi
published on Tuesday, Mar 24, 2026 by Pulumi
Manages a work item field in Azure DevOps.
Note: Custom fields are created at the organization level, not the project level. The Azure DevOps API does not support project-scoped custom fields.
Example Usage
Basic Field
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.WorkitemtrackingField("example", {
name: "My Custom Field",
referenceName: "Custom.MyCustomField",
type: "string",
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.WorkitemtrackingField("example",
name="My Custom Field",
reference_name="Custom.MyCustomField",
type="string")
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuredevops.NewWorkitemtrackingField(ctx, "example", &azuredevops.WorkitemtrackingFieldArgs{
Name: pulumi.String("My Custom Field"),
ReferenceName: pulumi.String("Custom.MyCustomField"),
Type: pulumi.String("string"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.WorkitemtrackingField("example", new()
{
Name = "My Custom Field",
ReferenceName = "Custom.MyCustomField",
Type = "string",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.WorkitemtrackingField;
import com.pulumi.azuredevops.WorkitemtrackingFieldArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new WorkitemtrackingField("example", WorkitemtrackingFieldArgs.builder()
.name("My Custom Field")
.referenceName("Custom.MyCustomField")
.type("string")
.build());
}
}
resources:
example:
type: azuredevops:WorkitemtrackingField
properties:
name: My Custom Field
referenceName: Custom.MyCustomField
type: string
Restore a Deleted Field
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const restored = new azuredevops.WorkitemtrackingField("restored", {
name: "Restored Field",
referenceName: "Custom.RestoredField",
type: "string",
restore: true,
});
import pulumi
import pulumi_azuredevops as azuredevops
restored = azuredevops.WorkitemtrackingField("restored",
name="Restored Field",
reference_name="Custom.RestoredField",
type="string",
restore=True)
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuredevops.NewWorkitemtrackingField(ctx, "restored", &azuredevops.WorkitemtrackingFieldArgs{
Name: pulumi.String("Restored Field"),
ReferenceName: pulumi.String("Custom.RestoredField"),
Type: pulumi.String("string"),
Restore: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var restored = new AzureDevOps.WorkitemtrackingField("restored", new()
{
Name = "Restored Field",
ReferenceName = "Custom.RestoredField",
Type = "string",
Restore = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.WorkitemtrackingField;
import com.pulumi.azuredevops.WorkitemtrackingFieldArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var restored = new WorkitemtrackingField("restored", WorkitemtrackingFieldArgs.builder()
.name("Restored Field")
.referenceName("Custom.RestoredField")
.type("string")
.restore(true)
.build());
}
}
resources:
restored:
type: azuredevops:WorkitemtrackingField
properties:
name: Restored Field
referenceName: Custom.RestoredField
type: string
restore: true
Relevant Links
Create WorkitemtrackingField Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkitemtrackingField(name: string, args: WorkitemtrackingFieldArgs, opts?: CustomResourceOptions);@overload
def WorkitemtrackingField(resource_name: str,
args: WorkitemtrackingFieldArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkitemtrackingField(resource_name: str,
opts: Optional[ResourceOptions] = None,
reference_name: Optional[str] = None,
type: Optional[str] = None,
description: Optional[str] = None,
is_locked: Optional[bool] = None,
is_picklist_suggested: Optional[bool] = None,
name: Optional[str] = None,
picklist_id: Optional[str] = None,
read_only: Optional[bool] = None,
restore: Optional[bool] = None,
usage: Optional[str] = None)func NewWorkitemtrackingField(ctx *Context, name string, args WorkitemtrackingFieldArgs, opts ...ResourceOption) (*WorkitemtrackingField, error)public WorkitemtrackingField(string name, WorkitemtrackingFieldArgs args, CustomResourceOptions? opts = null)
public WorkitemtrackingField(String name, WorkitemtrackingFieldArgs args)
public WorkitemtrackingField(String name, WorkitemtrackingFieldArgs args, CustomResourceOptions options)
type: azuredevops:WorkitemtrackingField
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WorkitemtrackingFieldArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkitemtrackingFieldArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkitemtrackingFieldArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkitemtrackingFieldArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkitemtrackingFieldArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var workitemtrackingFieldResource = new AzureDevOps.WorkitemtrackingField("workitemtrackingFieldResource", new()
{
ReferenceName = "string",
Type = "string",
Description = "string",
IsLocked = false,
IsPicklistSuggested = false,
Name = "string",
PicklistId = "string",
ReadOnly = false,
Restore = false,
Usage = "string",
});
example, err := azuredevops.NewWorkitemtrackingField(ctx, "workitemtrackingFieldResource", &azuredevops.WorkitemtrackingFieldArgs{
ReferenceName: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
IsLocked: pulumi.Bool(false),
IsPicklistSuggested: pulumi.Bool(false),
Name: pulumi.String("string"),
PicklistId: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
Restore: pulumi.Bool(false),
Usage: pulumi.String("string"),
})
var workitemtrackingFieldResource = new WorkitemtrackingField("workitemtrackingFieldResource", WorkitemtrackingFieldArgs.builder()
.referenceName("string")
.type("string")
.description("string")
.isLocked(false)
.isPicklistSuggested(false)
.name("string")
.picklistId("string")
.readOnly(false)
.restore(false)
.usage("string")
.build());
workitemtracking_field_resource = azuredevops.WorkitemtrackingField("workitemtrackingFieldResource",
reference_name="string",
type="string",
description="string",
is_locked=False,
is_picklist_suggested=False,
name="string",
picklist_id="string",
read_only=False,
restore=False,
usage="string")
const workitemtrackingFieldResource = new azuredevops.WorkitemtrackingField("workitemtrackingFieldResource", {
referenceName: "string",
type: "string",
description: "string",
isLocked: false,
isPicklistSuggested: false,
name: "string",
picklistId: "string",
readOnly: false,
restore: false,
usage: "string",
});
type: azuredevops:WorkitemtrackingField
properties:
description: string
isLocked: false
isPicklistSuggested: false
name: string
picklistId: string
readOnly: false
referenceName: string
restore: false
type: string
usage: string
WorkitemtrackingField Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WorkitemtrackingField resource accepts the following input properties:
- Reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - Type string
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - Description string
- The description of the field. Changing this forces a new field to be created.
- Is
Locked bool - Indicates whether this field is locked for editing. Default:
false. - Is
Picklist boolSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- Name string
- The friendly name of the field. Changing this forces a new field to be created.
- Picklist
Id string - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- Read
Only bool - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - Restore bool
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - Usage string
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- Reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - Type string
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - Description string
- The description of the field. Changing this forces a new field to be created.
- Is
Locked bool - Indicates whether this field is locked for editing. Default:
false. - Is
Picklist boolSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- Name string
- The friendly name of the field. Changing this forces a new field to be created.
- Picklist
Id string - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- Read
Only bool - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - Restore bool
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - Usage string
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- reference
Name String - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - type String
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - description String
- The description of the field. Changing this forces a new field to be created.
- is
Locked Boolean - Indicates whether this field is locked for editing. Default:
false. - is
Picklist BooleanSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- name String
- The friendly name of the field. Changing this forces a new field to be created.
- picklist
Id String - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read
Only Boolean - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - restore Boolean
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - usage String
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - type string
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - description string
- The description of the field. Changing this forces a new field to be created.
- is
Locked boolean - Indicates whether this field is locked for editing. Default:
false. - is
Picklist booleanSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- name string
- The friendly name of the field. Changing this forces a new field to be created.
- picklist
Id string - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read
Only boolean - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - restore boolean
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - usage string
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- reference_
name str - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - type str
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - description str
- The description of the field. Changing this forces a new field to be created.
- is_
locked bool - Indicates whether this field is locked for editing. Default:
false. - is_
picklist_ boolsuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- name str
- The friendly name of the field. Changing this forces a new field to be created.
- picklist_
id str - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read_
only bool - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - restore bool
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - usage str
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- reference
Name String - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - type String
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - description String
- The description of the field. Changing this forces a new field to be created.
- is
Locked Boolean - Indicates whether this field is locked for editing. Default:
false. - is
Picklist BooleanSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- name String
- The friendly name of the field. Changing this forces a new field to be created.
- picklist
Id String - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read
Only Boolean - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - restore Boolean
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - usage String
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkitemtrackingField resource produces the following output properties:
- Can
Sort boolBy - Indicates whether the field can be sorted in server queries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Identity bool - Indicates whether this field is an identity field.
- Is
Picklist bool - Indicates whether this field is a picklist.
- Is
Queryable bool - Indicates whether the field can be queried in the server.
- Supported
Operations List<Pulumi.Azure Dev Ops. Outputs. Workitemtracking Field Supported Operation> - The supported operations on this field. A
supported_operationsblock as defined below. - Url string
- The URL of the field resource.
- Can
Sort boolBy - Indicates whether the field can be sorted in server queries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Identity bool - Indicates whether this field is an identity field.
- Is
Picklist bool - Indicates whether this field is a picklist.
- Is
Queryable bool - Indicates whether the field can be queried in the server.
- Supported
Operations []WorkitemtrackingField Supported Operation - The supported operations on this field. A
supported_operationsblock as defined below. - Url string
- The URL of the field resource.
- can
Sort BooleanBy - Indicates whether the field can be sorted in server queries.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Identity Boolean - Indicates whether this field is an identity field.
- is
Picklist Boolean - Indicates whether this field is a picklist.
- is
Queryable Boolean - Indicates whether the field can be queried in the server.
- supported
Operations List<WorkitemtrackingField Supported Operation> - The supported operations on this field. A
supported_operationsblock as defined below. - url String
- The URL of the field resource.
- can
Sort booleanBy - Indicates whether the field can be sorted in server queries.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Identity boolean - Indicates whether this field is an identity field.
- is
Picklist boolean - Indicates whether this field is a picklist.
- is
Queryable boolean - Indicates whether the field can be queried in the server.
- supported
Operations WorkitemtrackingField Supported Operation[] - The supported operations on this field. A
supported_operationsblock as defined below. - url string
- The URL of the field resource.
- can_
sort_ boolby - Indicates whether the field can be sorted in server queries.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
identity bool - Indicates whether this field is an identity field.
- is_
picklist bool - Indicates whether this field is a picklist.
- is_
queryable bool - Indicates whether the field can be queried in the server.
- supported_
operations Sequence[WorkitemtrackingField Supported Operation] - The supported operations on this field. A
supported_operationsblock as defined below. - url str
- The URL of the field resource.
- can
Sort BooleanBy - Indicates whether the field can be sorted in server queries.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Identity Boolean - Indicates whether this field is an identity field.
- is
Picklist Boolean - Indicates whether this field is a picklist.
- is
Queryable Boolean - Indicates whether the field can be queried in the server.
- supported
Operations List<Property Map> - The supported operations on this field. A
supported_operationsblock as defined below. - url String
- The URL of the field resource.
Look up Existing WorkitemtrackingField Resource
Get an existing WorkitemtrackingField resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WorkitemtrackingFieldState, opts?: CustomResourceOptions): WorkitemtrackingField@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
can_sort_by: Optional[bool] = None,
description: Optional[str] = None,
is_identity: Optional[bool] = None,
is_locked: Optional[bool] = None,
is_picklist: Optional[bool] = None,
is_picklist_suggested: Optional[bool] = None,
is_queryable: Optional[bool] = None,
name: Optional[str] = None,
picklist_id: Optional[str] = None,
read_only: Optional[bool] = None,
reference_name: Optional[str] = None,
restore: Optional[bool] = None,
supported_operations: Optional[Sequence[WorkitemtrackingFieldSupportedOperationArgs]] = None,
type: Optional[str] = None,
url: Optional[str] = None,
usage: Optional[str] = None) -> WorkitemtrackingFieldfunc GetWorkitemtrackingField(ctx *Context, name string, id IDInput, state *WorkitemtrackingFieldState, opts ...ResourceOption) (*WorkitemtrackingField, error)public static WorkitemtrackingField Get(string name, Input<string> id, WorkitemtrackingFieldState? state, CustomResourceOptions? opts = null)public static WorkitemtrackingField get(String name, Output<String> id, WorkitemtrackingFieldState state, CustomResourceOptions options)resources: _: type: azuredevops:WorkitemtrackingField get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Can
Sort boolBy - Indicates whether the field can be sorted in server queries.
- Description string
- The description of the field. Changing this forces a new field to be created.
- Is
Identity bool - Indicates whether this field is an identity field.
- Is
Locked bool - Indicates whether this field is locked for editing. Default:
false. - Is
Picklist bool - Indicates whether this field is a picklist.
- Is
Picklist boolSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- Is
Queryable bool - Indicates whether the field can be queried in the server.
- Name string
- The friendly name of the field. Changing this forces a new field to be created.
- Picklist
Id string - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- Read
Only bool - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - Reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - Restore bool
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - Supported
Operations List<Pulumi.Azure Dev Ops. Inputs. Workitemtracking Field Supported Operation> - The supported operations on this field. A
supported_operationsblock as defined below. - Type string
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - Url string
- The URL of the field resource.
- Usage string
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- Can
Sort boolBy - Indicates whether the field can be sorted in server queries.
- Description string
- The description of the field. Changing this forces a new field to be created.
- Is
Identity bool - Indicates whether this field is an identity field.
- Is
Locked bool - Indicates whether this field is locked for editing. Default:
false. - Is
Picklist bool - Indicates whether this field is a picklist.
- Is
Picklist boolSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- Is
Queryable bool - Indicates whether the field can be queried in the server.
- Name string
- The friendly name of the field. Changing this forces a new field to be created.
- Picklist
Id string - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- Read
Only bool - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - Reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - Restore bool
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - Supported
Operations []WorkitemtrackingField Supported Operation Args - The supported operations on this field. A
supported_operationsblock as defined below. - Type string
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - Url string
- The URL of the field resource.
- Usage string
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- can
Sort BooleanBy - Indicates whether the field can be sorted in server queries.
- description String
- The description of the field. Changing this forces a new field to be created.
- is
Identity Boolean - Indicates whether this field is an identity field.
- is
Locked Boolean - Indicates whether this field is locked for editing. Default:
false. - is
Picklist Boolean - Indicates whether this field is a picklist.
- is
Picklist BooleanSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- is
Queryable Boolean - Indicates whether the field can be queried in the server.
- name String
- The friendly name of the field. Changing this forces a new field to be created.
- picklist
Id String - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read
Only Boolean - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - reference
Name String - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - restore Boolean
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - supported
Operations List<WorkitemtrackingField Supported Operation> - The supported operations on this field. A
supported_operationsblock as defined below. - type String
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - url String
- The URL of the field resource.
- usage String
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- can
Sort booleanBy - Indicates whether the field can be sorted in server queries.
- description string
- The description of the field. Changing this forces a new field to be created.
- is
Identity boolean - Indicates whether this field is an identity field.
- is
Locked boolean - Indicates whether this field is locked for editing. Default:
false. - is
Picklist boolean - Indicates whether this field is a picklist.
- is
Picklist booleanSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- is
Queryable boolean - Indicates whether the field can be queried in the server.
- name string
- The friendly name of the field. Changing this forces a new field to be created.
- picklist
Id string - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read
Only boolean - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - restore boolean
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - supported
Operations WorkitemtrackingField Supported Operation[] - The supported operations on this field. A
supported_operationsblock as defined below. - type string
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - url string
- The URL of the field resource.
- usage string
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- can_
sort_ boolby - Indicates whether the field can be sorted in server queries.
- description str
- The description of the field. Changing this forces a new field to be created.
- is_
identity bool - Indicates whether this field is an identity field.
- is_
locked bool - Indicates whether this field is locked for editing. Default:
false. - is_
picklist bool - Indicates whether this field is a picklist.
- is_
picklist_ boolsuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- is_
queryable bool - Indicates whether the field can be queried in the server.
- name str
- The friendly name of the field. Changing this forces a new field to be created.
- picklist_
id str - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read_
only bool - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - reference_
name str - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - restore bool
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - supported_
operations Sequence[WorkitemtrackingField Supported Operation Args] - The supported operations on this field. A
supported_operationsblock as defined below. - type str
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - url str
- The URL of the field resource.
- usage str
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
- can
Sort BooleanBy - Indicates whether the field can be sorted in server queries.
- description String
- The description of the field. Changing this forces a new field to be created.
- is
Identity Boolean - Indicates whether this field is an identity field.
- is
Locked Boolean - Indicates whether this field is locked for editing. Default:
false. - is
Picklist Boolean - Indicates whether this field is a picklist.
- is
Picklist BooleanSuggested Indicates whether this field is a suggested picklist.
Note: This field is kept for backwards compatibility, it should never be set as it is determined by the optional list referenced by
picklist_id- is
Queryable Boolean - Indicates whether the field can be queried in the server.
- name String
- The friendly name of the field. Changing this forces a new field to be created.
- picklist
Id String - The identifier of the picklist associated with this field, if applicable. Changing this forces a new field to be created.
- read
Only Boolean - Indicates whether the field is read-only. Default:
false. Changing this forces a new field to be created. - reference
Name String - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created. - restore Boolean
- NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Set to
trueto restore a previously deleted field instead of creating a new one. When set totrue, the resource will attempt to restore the field with the specifiedreference_name. - supported
Operations List<Property Map> - The supported operations on this field. A
supported_operationsblock as defined below. - type String
- The type of the field. Possible values:
string,integer,dateTime,plainText,html,treePath,history,double,guid,boolean,identity. Changing this forces a new field to be created. - url String
- The URL of the field resource.
- usage String
- The usage of the field. Possible values:
none,workItem,workItemLink,tree,workItemTypeExtension. Default:workItem. Changing this forces a new field to be created.
Supporting Types
WorkitemtrackingFieldSupportedOperation, WorkitemtrackingFieldSupportedOperationArgs
- Name string
- The friendly name of the field. Changing this forces a new field to be created.
- Reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created.
- Name string
- The friendly name of the field. Changing this forces a new field to be created.
- Reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created.
- name String
- The friendly name of the field. Changing this forces a new field to be created.
- reference
Name String - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created.
- name string
- The friendly name of the field. Changing this forces a new field to be created.
- reference
Name string - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created.
- name str
- The friendly name of the field. Changing this forces a new field to be created.
- reference_
name str - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created.
- name String
- The friendly name of the field. Changing this forces a new field to be created.
- reference
Name String - The reference name of the field (e.g.,
Custom.MyField). Changing this forces a new field to be created.
Import
Fields can be imported using the reference name:
$ pulumi import azuredevops:index/workitemtrackingField:WorkitemtrackingField example Custom.MyCustomField
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevopsTerraform Provider.
published on Tuesday, Mar 24, 2026 by Pulumi
