published on Tuesday, Mar 24, 2026 by Pulumi
published on Tuesday, Mar 24, 2026 by Pulumi
Manage a state inherited from an inherited work item type.
Note: When the resource is deleted, the state is reverted to default inherited state.
Note: Only inherited states can be managed by this resource. Use
azuredevops.WorkitemtrackingprocessStateto manage custom states.
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: "Bug",
parentWorkItemReferenceName: "Microsoft.VSTS.WorkItemTypes.Bug",
});
// Hide an inherited state
const exampleWorkitemtrackingprocessInheritedState = new azuredevops.WorkitemtrackingprocessInheritedState("example", {
processId: example.id,
workItemTypeId: exampleWorkitemtrackingprocessWorkitemtype.referenceName,
name: "New",
visible: false,
});
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="Bug",
parent_work_item_reference_name="Microsoft.VSTS.WorkItemTypes.Bug")
# Hide an inherited state
example_workitemtrackingprocess_inherited_state = azuredevops.WorkitemtrackingprocessInheritedState("example",
process_id=example.id,
work_item_type_id=example_workitemtrackingprocess_workitemtype.reference_name,
name="New",
visible=False)
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("Bug"),
ParentWorkItemReferenceName: pulumi.String("Microsoft.VSTS.WorkItemTypes.Bug"),
})
if err != nil {
return err
}
// Hide an inherited state
_, err = azuredevops.NewWorkitemtrackingprocessInheritedState(ctx, "example", &azuredevops.WorkitemtrackingprocessInheritedStateArgs{
ProcessId: example.ID(),
WorkItemTypeId: exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
Name: pulumi.String("New"),
Visible: pulumi.Bool(false),
})
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 = "Bug",
ParentWorkItemReferenceName = "Microsoft.VSTS.WorkItemTypes.Bug",
});
// Hide an inherited state
var exampleWorkitemtrackingprocessInheritedState = new AzureDevOps.WorkitemtrackingprocessInheritedState("example", new()
{
ProcessId = example.Id,
WorkItemTypeId = exampleWorkitemtrackingprocessWorkitemtype.ReferenceName,
Name = "New",
Visible = false,
});
});
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.WorkitemtrackingprocessInheritedState;
import com.pulumi.azuredevops.WorkitemtrackingprocessInheritedStateArgs;
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("Bug")
.parentWorkItemReferenceName("Microsoft.VSTS.WorkItemTypes.Bug")
.build());
// Hide an inherited state
var exampleWorkitemtrackingprocessInheritedState = new WorkitemtrackingprocessInheritedState("exampleWorkitemtrackingprocessInheritedState", WorkitemtrackingprocessInheritedStateArgs.builder()
.processId(example.id())
.workItemTypeId(exampleWorkitemtrackingprocessWorkitemtype.referenceName())
.name("New")
.visible(false)
.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: Bug
parentWorkItemReferenceName: Microsoft.VSTS.WorkItemTypes.Bug
# Hide an inherited state
exampleWorkitemtrackingprocessInheritedState:
type: azuredevops:WorkitemtrackingprocessInheritedState
name: example
properties:
processId: ${example.id}
workItemTypeId: ${exampleWorkitemtrackingprocessWorkitemtype.referenceName}
name: New
visible: false
Relevant Links
Create WorkitemtrackingprocessInheritedState Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkitemtrackingprocessInheritedState(name: string, args: WorkitemtrackingprocessInheritedStateArgs, opts?: CustomResourceOptions);@overload
def WorkitemtrackingprocessInheritedState(resource_name: str,
args: WorkitemtrackingprocessInheritedStateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkitemtrackingprocessInheritedState(resource_name: str,
opts: Optional[ResourceOptions] = None,
process_id: Optional[str] = None,
work_item_type_id: Optional[str] = None,
name: Optional[str] = None,
visible: Optional[bool] = None)func NewWorkitemtrackingprocessInheritedState(ctx *Context, name string, args WorkitemtrackingprocessInheritedStateArgs, opts ...ResourceOption) (*WorkitemtrackingprocessInheritedState, error)public WorkitemtrackingprocessInheritedState(string name, WorkitemtrackingprocessInheritedStateArgs args, CustomResourceOptions? opts = null)
public WorkitemtrackingprocessInheritedState(String name, WorkitemtrackingprocessInheritedStateArgs args)
public WorkitemtrackingprocessInheritedState(String name, WorkitemtrackingprocessInheritedStateArgs args, CustomResourceOptions options)
type: azuredevops:WorkitemtrackingprocessInheritedState
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 WorkitemtrackingprocessInheritedStateArgs
- 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 WorkitemtrackingprocessInheritedStateArgs
- 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 WorkitemtrackingprocessInheritedStateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkitemtrackingprocessInheritedStateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkitemtrackingprocessInheritedStateArgs
- 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 workitemtrackingprocessInheritedStateResource = new AzureDevOps.WorkitemtrackingprocessInheritedState("workitemtrackingprocessInheritedStateResource", new()
{
ProcessId = "string",
WorkItemTypeId = "string",
Name = "string",
Visible = false,
});
example, err := azuredevops.NewWorkitemtrackingprocessInheritedState(ctx, "workitemtrackingprocessInheritedStateResource", &azuredevops.WorkitemtrackingprocessInheritedStateArgs{
ProcessId: pulumi.String("string"),
WorkItemTypeId: pulumi.String("string"),
Name: pulumi.String("string"),
Visible: pulumi.Bool(false),
})
var workitemtrackingprocessInheritedStateResource = new WorkitemtrackingprocessInheritedState("workitemtrackingprocessInheritedStateResource", WorkitemtrackingprocessInheritedStateArgs.builder()
.processId("string")
.workItemTypeId("string")
.name("string")
.visible(false)
.build());
workitemtrackingprocess_inherited_state_resource = azuredevops.WorkitemtrackingprocessInheritedState("workitemtrackingprocessInheritedStateResource",
process_id="string",
work_item_type_id="string",
name="string",
visible=False)
const workitemtrackingprocessInheritedStateResource = new azuredevops.WorkitemtrackingprocessInheritedState("workitemtrackingprocessInheritedStateResource", {
processId: "string",
workItemTypeId: "string",
name: "string",
visible: false,
});
type: azuredevops:WorkitemtrackingprocessInheritedState
properties:
name: string
processId: string
visible: false
workItemTypeId: string
WorkitemtrackingprocessInheritedState 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 WorkitemtrackingprocessInheritedState resource accepts the following input properties:
- Process
Id string - The ID of the process. Changing this forces a new resource to be created.
- Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- Name string
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- Visible bool
- Whether the state is visible.
- Process
Id string - The ID of the process. Changing this forces a new resource to be created.
- Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- Name string
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- Visible bool
- Whether the state is visible.
- process
Id String - The ID of the process. Changing this forces a new resource to be created.
- work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name String
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- visible Boolean
- Whether the state is visible.
- process
Id string - The ID of the process. Changing this forces a new resource to be created.
- work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name string
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- visible boolean
- Whether the state is visible.
- process_
id str - The ID of the process. Changing this forces a new resource to be created.
- work_
item_ strtype_ id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name str
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- visible bool
- Whether the state is visible.
- process
Id String - The ID of the process. Changing this forces a new resource to be created.
- work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name String
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- visible Boolean
- Whether the state is visible.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkitemtrackingprocessInheritedState resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing WorkitemtrackingprocessInheritedState Resource
Get an existing WorkitemtrackingprocessInheritedState 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?: WorkitemtrackingprocessInheritedStateState, opts?: CustomResourceOptions): WorkitemtrackingprocessInheritedState@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
process_id: Optional[str] = None,
visible: Optional[bool] = None,
work_item_type_id: Optional[str] = None) -> WorkitemtrackingprocessInheritedStatefunc GetWorkitemtrackingprocessInheritedState(ctx *Context, name string, id IDInput, state *WorkitemtrackingprocessInheritedStateState, opts ...ResourceOption) (*WorkitemtrackingprocessInheritedState, error)public static WorkitemtrackingprocessInheritedState Get(string name, Input<string> id, WorkitemtrackingprocessInheritedStateState? state, CustomResourceOptions? opts = null)public static WorkitemtrackingprocessInheritedState get(String name, Output<String> id, WorkitemtrackingprocessInheritedStateState state, CustomResourceOptions options)resources: _: type: azuredevops:WorkitemtrackingprocessInheritedState 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.
- Name string
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- Process
Id string - The ID of the process. Changing this forces a new resource to be created.
- Visible bool
- Whether the state is visible.
- Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- Name string
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- Process
Id string - The ID of the process. Changing this forces a new resource to be created.
- Visible bool
- Whether the state is visible.
- Work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name String
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- process
Id String - The ID of the process. Changing this forces a new resource to be created.
- visible Boolean
- Whether the state is visible.
- work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name string
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- process
Id string - The ID of the process. Changing this forces a new resource to be created.
- visible boolean
- Whether the state is visible.
- work
Item stringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name str
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- process_
id str - The ID of the process. Changing this forces a new resource to be created.
- visible bool
- Whether the state is visible.
- work_
item_ strtype_ id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
- name String
- Name of the inherited state to manage. This is used to look up the state and must match an existing inherited state name. Changing this forces a new resource to be created.
- process
Id String - The ID of the process. Changing this forces a new resource to be created.
- visible Boolean
- Whether the state is visible.
- work
Item StringType Id - The ID (reference name) of the work item type. Changing this forces a new resource to be created.
Import
Inherited states can be imported using the complete resource id process_id/work_item_type_id/name, e.g.
$ pulumi import azuredevops:index/workitemtrackingprocessInheritedState:WorkitemtrackingprocessInheritedState example 00000000-0000-0000-0000-000000000000/MyProcess.CustomWorkItemType/New
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
