getIssuesWithoutEpicForBoard method

Future getIssuesWithoutEpicForBoard({
  1. required int boardId,
  2. int? startAt,
  3. int? maxResults,
  4. String? jql,
  5. bool? validateQuery,
  6. List<Map<String, dynamic>>? fields,
  7. String? expand,
})

Returns all issues that do not belong to any epic on a board, for a given board ID. This only includes issues that the user has permission to view. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic. By default, the returned issues are ordered by rank.

Implementation

Future<dynamic> getIssuesWithoutEpicForBoard(
    {required int boardId,
    int? startAt,
    int? maxResults,
    String? jql,
    bool? validateQuery,
    List<Map<String, dynamic>>? fields,
    String? expand}) async {
  return await _client.send(
    'get',
    'rest/agile/1.0/board/{boardId}/epic/none/issue',
    pathParameters: {
      'boardId': '$boardId',
    },
    queryParameters: {
      if (startAt != null) 'startAt': '$startAt',
      if (maxResults != null) 'maxResults': '$maxResults',
      if (jql != null) 'jql': jql,
      if (validateQuery != null) 'validateQuery': '$validateQuery',
      if (fields != null) 'fields': fields.map((e) => '$e').join(','),
      if (expand != null) 'expand': expand,
    },
  );
}