1. Packages
  2. Azure DevOps Provider
  3. API Docs
  4. getWorkitemtrackingprocessWorkitemtype
Azure DevOps v3.12.0 published on Friday, Jan 9, 2026 by Pulumi
azuredevops logo
Azure DevOps v3.12.0 published on Friday, Jan 9, 2026 by Pulumi

    Use this data source to access information about an existing work item type for a process.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const example = azuredevops.getWorkitemtrackingprocessWorkitemtype({
        processId: "f22ab9cc-acad-47ab-b31d-e43ef8d72b89",
        referenceName: "MyProcess.Example",
    });
    export const name = example.then(example => example.name);
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example = azuredevops.get_workitemtrackingprocess_workitemtype(process_id="f22ab9cc-acad-47ab-b31d-e43ef8d72b89",
        reference_name="MyProcess.Example")
    pulumi.export("name", example.name)
    
    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.LookupWorkitemtrackingprocessWorkitemtype(ctx, &azuredevops.LookupWorkitemtrackingprocessWorkitemtypeArgs{
    			ProcessId:     "f22ab9cc-acad-47ab-b31d-e43ef8d72b89",
    			ReferenceName: "MyProcess.Example",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("name", example.Name)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var example = AzureDevOps.GetWorkitemtrackingprocessWorkitemtype.Invoke(new()
        {
            ProcessId = "f22ab9cc-acad-47ab-b31d-e43ef8d72b89",
            ReferenceName = "MyProcess.Example",
        });
    
        return new Dictionary<string, object?>
        {
            ["name"] = example.Apply(getWorkitemtrackingprocessWorkitemtypeResult => getWorkitemtrackingprocessWorkitemtypeResult.Name),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azuredevops.AzuredevopsFunctions;
    import com.pulumi.azuredevops.inputs.GetWorkitemtrackingprocessWorkitemtypeArgs;
    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) {
            final var example = AzuredevopsFunctions.getWorkitemtrackingprocessWorkitemtype(GetWorkitemtrackingprocessWorkitemtypeArgs.builder()
                .processId("f22ab9cc-acad-47ab-b31d-e43ef8d72b89")
                .referenceName("MyProcess.Example")
                .build());
    
            ctx.export("name", example.name());
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: azuredevops:getWorkitemtrackingprocessWorkitemtype
          arguments:
            processId: f22ab9cc-acad-47ab-b31d-e43ef8d72b89
            referenceName: MyProcess.Example
    outputs:
      name: ${example.name}
    

    Using getWorkitemtrackingprocessWorkitemtype

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkitemtrackingprocessWorkitemtype(args: GetWorkitemtrackingprocessWorkitemtypeArgs, opts?: InvokeOptions): Promise<GetWorkitemtrackingprocessWorkitemtypeResult>
    function getWorkitemtrackingprocessWorkitemtypeOutput(args: GetWorkitemtrackingprocessWorkitemtypeOutputArgs, opts?: InvokeOptions): Output<GetWorkitemtrackingprocessWorkitemtypeResult>
    def get_workitemtrackingprocess_workitemtype(process_id: Optional[str] = None,
                                                 reference_name: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetWorkitemtrackingprocessWorkitemtypeResult
    def get_workitemtrackingprocess_workitemtype_output(process_id: Optional[pulumi.Input[str]] = None,
                                                 reference_name: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetWorkitemtrackingprocessWorkitemtypeResult]
    func LookupWorkitemtrackingprocessWorkitemtype(ctx *Context, args *LookupWorkitemtrackingprocessWorkitemtypeArgs, opts ...InvokeOption) (*LookupWorkitemtrackingprocessWorkitemtypeResult, error)
    func LookupWorkitemtrackingprocessWorkitemtypeOutput(ctx *Context, args *LookupWorkitemtrackingprocessWorkitemtypeOutputArgs, opts ...InvokeOption) LookupWorkitemtrackingprocessWorkitemtypeResultOutput

    > Note: This function is named LookupWorkitemtrackingprocessWorkitemtype in the Go SDK.

    public static class GetWorkitemtrackingprocessWorkitemtype 
    {
        public static Task<GetWorkitemtrackingprocessWorkitemtypeResult> InvokeAsync(GetWorkitemtrackingprocessWorkitemtypeArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkitemtrackingprocessWorkitemtypeResult> Invoke(GetWorkitemtrackingprocessWorkitemtypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkitemtrackingprocessWorkitemtypeResult> getWorkitemtrackingprocessWorkitemtype(GetWorkitemtrackingprocessWorkitemtypeArgs args, InvokeOptions options)
    public static Output<GetWorkitemtrackingprocessWorkitemtypeResult> getWorkitemtrackingprocessWorkitemtype(GetWorkitemtrackingprocessWorkitemtypeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azuredevops:index/getWorkitemtrackingprocessWorkitemtype:getWorkitemtrackingprocessWorkitemtype
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProcessId string
    The ID of the process.
    ReferenceName string
    The reference name of the work item type.
    ProcessId string
    The ID of the process.
    ReferenceName string
    The reference name of the work item type.
    processId String
    The ID of the process.
    referenceName String
    The reference name of the work item type.
    processId string
    The ID of the process.
    referenceName string
    The reference name of the work item type.
    process_id str
    The ID of the process.
    reference_name str
    The reference name of the work item type.
    processId String
    The ID of the process.
    referenceName String
    The reference name of the work item type.

    getWorkitemtrackingprocessWorkitemtype Result

    The following output properties are available:

    Color string
    Color hexadecimal code to represent the work item type.
    Customization string
    Indicates the type of customization on this work item type.
    Description string
    Description of the work item type.
    Icon string
    Icon to represent the work item type.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsEnabled bool
    Indicates if the work item type is enabled.
    Name string
    Name of the work item type.
    ParentWorkItemReferenceName string
    Reference name of the parent work item type.
    ProcessId string
    ReferenceName string
    Url string
    URL of the work item type.
    Color string
    Color hexadecimal code to represent the work item type.
    Customization string
    Indicates the type of customization on this work item type.
    Description string
    Description of the work item type.
    Icon string
    Icon to represent the work item type.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsEnabled bool
    Indicates if the work item type is enabled.
    Name string
    Name of the work item type.
    ParentWorkItemReferenceName string
    Reference name of the parent work item type.
    ProcessId string
    ReferenceName string
    Url string
    URL of the work item type.
    color String
    Color hexadecimal code to represent the work item type.
    customization String
    Indicates the type of customization on this work item type.
    description String
    Description of the work item type.
    icon String
    Icon to represent the work item type.
    id String
    The provider-assigned unique ID for this managed resource.
    isEnabled Boolean
    Indicates if the work item type is enabled.
    name String
    Name of the work item type.
    parentWorkItemReferenceName String
    Reference name of the parent work item type.
    processId String
    referenceName String
    url String
    URL of the work item type.
    color string
    Color hexadecimal code to represent the work item type.
    customization string
    Indicates the type of customization on this work item type.
    description string
    Description of the work item type.
    icon string
    Icon to represent the work item type.
    id string
    The provider-assigned unique ID for this managed resource.
    isEnabled boolean
    Indicates if the work item type is enabled.
    name string
    Name of the work item type.
    parentWorkItemReferenceName string
    Reference name of the parent work item type.
    processId string
    referenceName string
    url string
    URL of the work item type.
    color str
    Color hexadecimal code to represent the work item type.
    customization str
    Indicates the type of customization on this work item type.
    description str
    Description of the work item type.
    icon str
    Icon to represent the work item type.
    id str
    The provider-assigned unique ID for this managed resource.
    is_enabled bool
    Indicates if the work item type is enabled.
    name str
    Name of the work item type.
    parent_work_item_reference_name str
    Reference name of the parent work item type.
    process_id str
    reference_name str
    url str
    URL of the work item type.
    color String
    Color hexadecimal code to represent the work item type.
    customization String
    Indicates the type of customization on this work item type.
    description String
    Description of the work item type.
    icon String
    Icon to represent the work item type.
    id String
    The provider-assigned unique ID for this managed resource.
    isEnabled Boolean
    Indicates if the work item type is enabled.
    name String
    Name of the work item type.
    parentWorkItemReferenceName String
    Reference name of the parent work item type.
    processId String
    referenceName String
    url String
    URL of the work item type.

    Package Details

    Repository
    Azure DevOps pulumi/pulumi-azuredevops
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azuredevops Terraform Provider.
    azuredevops logo
    Azure DevOps v3.12.0 published on Friday, Jan 9, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate