WorkItemCommand.

GetWorkItemByIdAsync(ICakeContext, string, string, string) Method

Summary

Fetch the Cake.Board.Abstractions.IWorkItem by Id.

Syntax

public static Task<IWorkItem> GetWorkItemByIdAsync(this ICakeContext context, string personalAccessToken, string organization, string id)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext of precess.
personalAccessToken string The personal access token.
organization string The organization where the board is placed.
id string The work item id.

Return Value

Type Description
Task<IWorkItem> A Task<TResult> representing the result of the asynchronous operation.