moveIssuesToEpic method
Moves issues to an epic, for a given epic id. Issues can be only in a single epic at the same time. That means that already assigned issues to an epic, will not be assigned to the previous epic anymore. The user needs to have the edit issue permission for all issue they want to move and to the epic. The maximum number of issues that can be moved in one operation is 50. Note: This operation does not work for epics in next-gen projects.
Implementation
Future<void> moveIssuesToEpic(
{required String epicIdOrKey, required Map<String, dynamic> body}) async {
await _client.send(
'post',
'rest/agile/1.0/epic/{epicIdOrKey}/issue',
pathParameters: {
'epicIdOrKey': epicIdOrKey,
},
body: body,
);
}