published on Tuesday, Mar 24, 2026 by Pulumi
published on Tuesday, Mar 24, 2026 by Pulumi
Manages a state for a work item type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.WorkitemtrackingprocessProcess("example", {
name: "example-process",
parentProcessTypeId: "adcc42ab-9882-485e-a3ed-7678f01f66bc",
});
const exampleWorkitemtrackingprocessWorkitemtype = new azuredevops.WorkitemtrackingprocessWorkitemtype("example", {
processId: example.id,
name: "example",
});
const exampleWorkitemtrackingprocessState = new azuredevops.WorkitemtrackingprocessState("example", {
processId: example.id,
workItemTypeId: exampleWorkitemtrackingprocessWorkitemtype.referenceName,
name: "Ready",
color: "#5688E0",
stateCategory: "Proposed",
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.WorkitemtrackingprocessProcess("example",
name="example-process",
parent_process_type_id="adcc42ab-9882-485e-a3ed-7678f01f66bc")
example_workitemtrackingprocess_workitemtype = azuredevops.WorkitemtrackingprocessWorkitemtype("example",
process_id=example.id,
name="example")
example_workitemtrackingprocess_state = azuredevops.WorkitemtrackingprocessState("example",
process_id=example.id,
work_item_type_id=example_workitemtrackingprocess_workitemtype.reference_name,
name="Ready",
color="#5688E0",
state_category="Proposed")
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 {
example, err := azuredevops.NewWorkitemtrackingprocessProcess(ctx, "example", &azuredevops.WorkitemtrackingprocessProcessArgs{
Name: pulumi.String("example-process"),
ParentProcessTypeId: pulumi.String("adcc42ab-9882-485e-a3ed-7678f01f66bc"),
})
if err != nil {
return err
}
exampleWorkitemtrackingprocessWorkitemtype, err := azuredevops.NewWorkitemtrackingprocessWorkitemtype(ctx, "example", &azuredevops.WorkitemtrackingprocessWorkitemtypeArgs{
ProcessId: example.ID(),
Name: pulumi.String("example"),
})
if err != nil {
return err
}
_, err = azuredevops.NewWorkitemtrackingprocessState(ctx, "example", &azuredevops.WorkitemtrackingprocessStateArgs{
ProcessId: example.ID(),
WorkItemTypeId: exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
Name: pulumi.String("Ready"),
Color: pulumi.String("#5688E0"),
StateCategory: pulumi.String("Proposed"),
})
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.WorkitemtrackingprocessProcess("example", new()
{
Name = "example-process",
ParentProcessTypeId = "adcc42ab-9882-485e-a3ed-7678f01f66bc",
});
var exampleWorkitemtrackingprocessWorkitemtype = new AzureDevOps.WorkitemtrackingprocessWorkitemtype("example", new()
{
ProcessId = example.Id,
Name = "example",
});
var exampleWorkitemtrackingprocessState = new AzureDevOps.WorkitemtrackingprocessState("example", new()
{
ProcessId = example.Id,
WorkItemTypeId = exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
Name = "Ready",
Color = "#5688E0",
StateCategory = "Proposed",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.WorkitemtrackingprocessProcess;
import com.pulumi.azuredevops.WorkitemtrackingprocessProcessArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessWorkitemtype;
import com.pulumi.azuredevops.WorkitemtrackingprocessWorkitemtypeArgs;
import com.pulumi.azuredevops.WorkitemtrackingprocessState;
import com.pulumi.azuredevops.WorkitemtrackingprocessStateArgs;
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 WorkitemtrackingprocessProcess("example", WorkitemtrackingprocessProcessArgs.builder()
.name("example-process")
.parentProcessTypeId("adcc42ab-9882-485e-a3ed-7678f01f66bc")
.build());
var exampleWorkitemtrackingprocessWorkitemtype = new WorkitemtrackingprocessWorkitemtype("exampleWorkitemtrackingprocessWorkitemtype", WorkitemtrackingprocessWorkitemtypeArgs.builder()
.processId(example.id())
.name("example")
.build());
var exampleWorkitemtrackingprocessState = new WorkitemtrackingprocessState("exampleWorkitemtrackingprocessState", WorkitemtrackingprocessStateArgs.builder()
.processId(example.id())
.workItemTypeId(exampleWorkitemtrackingprocessWorkitemtype.referenceName())
.name("Ready")
.color("#5688E0")
.stateCategory("Proposed")
.build());
}
}
resources:
example:
type: azuredevops:WorkitemtrackingprocessProcess
properties:
name: example-process
parentProcessTypeId: adcc42ab-9882-485e-a3ed-7678f01f66bc
exampleWorkitemtrackingprocessWorkitemtype:
type: azuredevops:WorkitemtrackingprocessWorkitemtype
name: example
properties:
processId: ${example.id}
name: example
exampleWorkitemtrackingprocessState:
type: azuredevops:WorkitemtrackingprocessState
name: example
properties:
processId: ${example.id}
workItemTypeId: ${exampleWorkitemtrackingprocessWorkitemtype.referenceName}
name: Ready
color: '#5688E0'
stateCategory: Proposed
Relevant Links
Create WorkitemtrackingprocessState Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkitemtrackingprocessState(name: string, args: WorkitemtrackingprocessStateArgs, opts?: CustomResourceOptions);@overload
def WorkitemtrackingprocessState(resource_name: str,
args: WorkitemtrackingprocessStateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkitemtrackingprocessState(resource_name: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
process_id: Optional[str] = None,
state_category: Optional[str] = None,
work_item_type_id: Optional[str] = None,
name: Optional[str] = None,
order: Optional[int] = None)func NewWorkitemtrackingprocessState(ctx *Context, name string, args WorkitemtrackingprocessStateArgs, opts ...ResourceOption) (*WorkitemtrackingprocessState, error)public WorkitemtrackingprocessState(string name, WorkitemtrackingprocessStateArgs args, CustomResourceOptions? opts = null)
public WorkitemtrackingprocessState(String name, WorkitemtrackingprocessStateArgs args)
public WorkitemtrackingprocessState(String name, WorkitemtrackingprocessStateArgs args, CustomResourceOptions options)
type: azuredevops:WorkitemtrackingprocessState
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 WorkitemtrackingprocessStateArgs
- 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 WorkitemtrackingprocessStateArgs
- 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 WorkitemtrackingprocessStateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkitemtrackingprocessStateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkitemtrackingprocessStateArgs
- 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 workitemtrackingprocessStateResource = new AzureDevOps.WorkitemtrackingprocessState("workitemtrackingprocessStateResource", new()
{
Color = "string",
ProcessId = "string",
StateCategory = "string",
WorkItemTypeId = "string",
Name = "string",
Order = 0,
});
example, err := azuredevops.NewWorkitemtrackingprocessState(ctx, "workitemtrackingprocessStateResource", &azuredevops.WorkitemtrackingprocessStateArgs{
Color: pulumi.String("string"),
ProcessId: pulumi.String("string"),
StateCategory: pulumi.String("string"),
WorkItemTypeId: pulumi.String("string"),
Name: pulumi.String("string"),
Order: pulumi.Int(0),
})
var workitemtrackingprocessStateResource = new WorkitemtrackingprocessState("workitemtrackingprocessStateResource", WorkitemtrackingprocessStateArgs.builder()
.color("string")
.processId("string")
.stateCategory("string")
.workItemTypeId("string")
.name("string")
.order(0)
.build());
workitemtrackingprocess_state_resource = azuredevops.WorkitemtrackingprocessState("workitemtrackingprocessStateResource",
color="string",
process_id="string",
state_category="string",
work_item_type_id="string",
name="string",
order=0)
const workitemtrackingprocessStateResource = new azuredevops.WorkitemtrackingprocessState("workitemtrackingprocessStateResource", {
color: "string",
processId: "string",
stateCategory: "string",
workItemTypeId: "string",
name: "string",
order: 0,
});
type: azuredevops:WorkitemtrackingprocessState
properties:
color: string
name: string
order: 0
processId: string
stateCategory: string
workItemTypeId: string
WorkitemtrackingprocessState 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 WorkitemtrackingprocessState resource accepts the following input properties:
- Color string
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - Process
Id string - The ID of the process. Changing this forces a new state to be created.
- State
Category string - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- Name string
- Name of the state. Changing this forces a new state to be created.
- Order int
- Order within the category where the state should appear.
- Color string
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - Process
Id string - The ID of the process. Changing this forces a new state to be created.
- State
Category string - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- Name string
- Name of the state. Changing this forces a new state to be created.
- Order int
- Order within the category where the state should appear.
- color String
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - process
Id String - The ID of the process. Changing this forces a new state to be created.
- state
Category String - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- name String
- Name of the state. Changing this forces a new state to be created.
- order Integer
- Order within the category where the state should appear.
- color string
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - process
Id string - The ID of the process. Changing this forces a new state to be created.
- state
Category string - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- name string
- Name of the state. Changing this forces a new state to be created.
- order number
- Order within the category where the state should appear.
- color str
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - process_
id str - The ID of the process. Changing this forces a new state to be created.
- state_
category str - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - work_
item_ strtype_ id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- name str
- Name of the state. Changing this forces a new state to be created.
- order int
- Order within the category where the state should appear.
- color String
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - process
Id String - The ID of the process. Changing this forces a new state to be created.
- state
Category String - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- name String
- Name of the state. Changing this forces a new state to be created.
- order Number
- Order within the category where the state should appear.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkitemtrackingprocessState resource produces the following output properties:
Look up Existing WorkitemtrackingprocessState Resource
Get an existing WorkitemtrackingprocessState 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?: WorkitemtrackingprocessStateState, opts?: CustomResourceOptions): WorkitemtrackingprocessState@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
name: Optional[str] = None,
order: Optional[int] = None,
process_id: Optional[str] = None,
state_category: Optional[str] = None,
url: Optional[str] = None,
work_item_type_id: Optional[str] = None) -> WorkitemtrackingprocessStatefunc GetWorkitemtrackingprocessState(ctx *Context, name string, id IDInput, state *WorkitemtrackingprocessStateState, opts ...ResourceOption) (*WorkitemtrackingprocessState, error)public static WorkitemtrackingprocessState Get(string name, Input<string> id, WorkitemtrackingprocessStateState? state, CustomResourceOptions? opts = null)public static WorkitemtrackingprocessState get(String name, Output<String> id, WorkitemtrackingprocessStateState state, CustomResourceOptions options)resources: _: type: azuredevops:WorkitemtrackingprocessState 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.
- Color string
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - Name string
- Name of the state. Changing this forces a new state to be created.
- Order int
- Order within the category where the state should appear.
- Process
Id string - The ID of the process. Changing this forces a new state to be created.
- State
Category string - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - Url string
- URL of the state.
- Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- Color string
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - Name string
- Name of the state. Changing this forces a new state to be created.
- Order int
- Order within the category where the state should appear.
- Process
Id string - The ID of the process. Changing this forces a new state to be created.
- State
Category string - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - Url string
- URL of the state.
- Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- color String
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - name String
- Name of the state. Changing this forces a new state to be created.
- order Integer
- Order within the category where the state should appear.
- process
Id String - The ID of the process. Changing this forces a new state to be created.
- state
Category String - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - url String
- URL of the state.
- work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- color string
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - name string
- Name of the state. Changing this forces a new state to be created.
- order number
- Order within the category where the state should appear.
- process
Id string - The ID of the process. Changing this forces a new state to be created.
- state
Category string - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - url string
- URL of the state.
- work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- color str
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - name str
- Name of the state. Changing this forces a new state to be created.
- order int
- Order within the category where the state should appear.
- process_
id str - The ID of the process. Changing this forces a new state to be created.
- state_
category str - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - url str
- URL of the state.
- work_
item_ strtype_ id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
- color String
- Color hexadecimal code to represent the state, e.g.
#b2b2b2. - name String
- Name of the state. Changing this forces a new state to be created.
- order Number
- Order within the category where the state should appear.
- process
Id String - The ID of the process. Changing this forces a new state to be created.
- state
Category String - Category of the state. Valid values:
Proposed,InProgress,Resolved,Completed,Removed. - url String
- URL of the state.
- work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new state to be created.
Import
States can be imported using the complete resource id process_id/work_item_type_id/state_id, e.g.
$ pulumi import azuredevops:index/workitemtrackingprocessState:WorkitemtrackingprocessState example 00000000-0000-0000-0000-000000000000/MyProcess.CustomWorkItemType/00000000-0000-0000-0000-000000000000
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
