workItemDomainActionApplyPolicy()
Creates a work item domain action apply policy.
Import
Section titled “Import”import { workItemDomainActionApplyPolicy } from "@graphrefly/ts/solutions/work-item/actions";Signature
Section titled “Signature”function workItemDomainActionApplyPolicy( policyId: string, opts: Omit<Partial<WorkItemDomainActionApplyPolicy>, "kind" | "policyId"> = {},): WorkItemDomainActionApplyPolicyParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
policyId | string | Stable identifier used by the emitted record. |
opts | Omit<Partial<WorkItemDomainActionApplyPolicy>, "kind" | "policyId"> | Options that configure the helper. |
Returns
Section titled “Returns”The work item domain action apply policy result.
Example
Section titled “Example”import { workItemDomainActionApplyPolicy } from "@graphrefly/ts/solutions/work-item/actions";Source
Section titled “Source”packages/ts/src/solutions/work-item/actions-builders.ts