Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkItemTypesApi

Hierarchy

  • WorkItemTypesApi

Index

Constructors

constructor

Properties

Protected basePath

basePath: string = "https://dev.azure.com/"

defaultHeaders

defaultHeaders: any

Methods

addBehaviorToWorkItemType

  • addBehaviorToWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemTypeBehavior>
  • Adds a behavior to the work item type of the process.

    Parameters

    • params: object
      • apiVersion: string
      • body: WorkItemTypeBehavior
      • organization: string
      • processId: string
      • witRefNameForBehaviors: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemTypeBehavior>

createProcessWorkItemType

  • createProcessWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ProcessWorkItemType>

createWorkItemType

  • createWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemTypeModel>
  • Creates a work item type in the process.

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemTypeModel>

deleteProcessWorkItemType

  • deleteProcessWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Removes a work itewm type in the process.

    Parameters

    • params: object
      • apiVersion: string
      • organization: string
      • processId: string
      • witRefName: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<__type>

deleteWorkItemType

  • deleteWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Removes a work itewm type in the process.

    Parameters

    • params: object
      • apiVersion: string
      • organization: string
      • processId: string
      • witRefName: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<__type>

getBehaviorForWorkItemType

  • getBehaviorForWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemTypeBehavior>
  • Returns a behavior for the work item type of the process.

    Parameters

    • params: object
      • apiVersion: string
      • behaviorRefName: string
      • organization: string
      • processId: string
      • witRefNameForBehaviors: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemTypeBehavior>

getBehaviorsForWorkItemType

  • Returns a list of all behaviors for the work item type of the process.

    Parameters

    • params: object
      • apiVersion: string
      • organization: string
      • processId: string
      • witRefNameForBehaviors: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<ArrayWrapper<WorkItemTypeBehavior>>

getProcessWorkItemType

  • getProcessWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ProcessWorkItemType>
  • Returns a single work item type in a process.

    Parameters

    • params: object
      • Optional $Expand?: string
      • apiVersion: string
      • organization: string
      • processId: string
      • witRefName: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<ProcessWorkItemType>

getProcessWorkItemTypes

  • Returns a list of all work item types in a process.

    Parameters

    • params: object
      • Optional $Expand?: string
      • apiVersion: string
      • organization: string
      • processId: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<ArrayWrapper<ProcessWorkItemType>>

getWorkItemType

  • getWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemTypeModel>
  • Returns a work item type of the process.

    Parameters

    • params: object
      • Optional $Expand?: string
      • apiVersion: string
      • organization: string
      • processId: string
      • witRefName: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemTypeModel>

getWorkItemType_1

  • getWorkItemType_1(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemType>
  • Returns a work item type definition.

    Parameters

    • params: object
      • apiVersion: string
      • organization: string
      • project: string
      • type: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemType>

getWorkItemTypes

  • Returns a list of all work item types in the process.

    Parameters

    • params: object
      • Optional $Expand?: string
      • apiVersion: string
      • organization: string
      • processId: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<ArrayWrapper<WorkItemTypeModel>>

getWorkItemTypes_2

  • getWorkItemTypes_2(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ArrayWrapper<WorkItemType>>
  • Returns the list of work item types

    Parameters

    • params: object
      • apiVersion: string
      • organization: string
      • project: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<ArrayWrapper<WorkItemType>>

removeBehaviorFromWorkItemType

  • removeBehaviorFromWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Removes a behavior for the work item type of the process.

    Parameters

    • params: object
      • apiVersion: string
      • behaviorRefName: string
      • organization: string
      • processId: string
      • witRefNameForBehaviors: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<__type>

updateBehaviorToWorkItemType

  • updateBehaviorToWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemTypeBehavior>
  • Updates a behavior for the work item type of the process.

    Parameters

    • params: object
      • apiVersion: string
      • body: WorkItemTypeBehavior
      • organization: string
      • processId: string
      • witRefNameForBehaviors: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemTypeBehavior>

updateProcessWorkItemType

  • updateProcessWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<ProcessWorkItemType>

updateWorkItemType

  • updateWorkItemType(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<WorkItemTypeModel>
  • Updates a work item type of the process.

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<WorkItemTypeModel>

Generated using TypeDoc