getIssueEstimationForBoard method
Returns the estimation of the issue and a fieldId of the field that is
used for it. boardId
param is required. This param determines which
field will be updated on a issue.
Original time internally 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.
Implementation
Future<dynamic> getIssueEstimationForBoard(
{required String issueIdOrKey, int? boardId}) async {
return await _client.send(
'get',
'rest/agile/1.0/issue/{issueIdOrKey}/estimation',
pathParameters: {
'issueIdOrKey': issueIdOrKey,
},
queryParameters: {
if (boardId != null) 'boardId': '$boardId',
},
);
}