Function: estimateIssueForBoard()
function estimateIssueForBoard(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
fieldId?: string;
value?: Record<string, any>;
}>;Defined in: src/server/api/issues.ts:173
Updates the estimation of the issue. boardId param is required. This param determines which field will be updated on a issue. Note that this resource changes the estimation field of the issue regardless of appearance the field on the screen. Original time tracking estimation field accepts estimation in formats like "1w", "2d", "3h", "20m" or number which represent number of minutes. However, internally the field stores and returns the estimation as a number of seconds. The field used for estimation on the given board can be obtained from board configuration resource. More information about the field are returned by edit meta resource or field resource.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { boardId?: number; issueIdOrKey: string; value?: string; } | - |
parameters.boardId? | number | The id of the board required to determine which field is used for estimation. |
parameters.issueIdOrKey? | string | The Id or key of the requested issue. |
parameters.value? | string | - |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; fieldId?: string; value?: Record<string, any>; }>