getEpic method

Future getEpic(
  1. String epicIdOrKey
)

Returns the epic for a given epic ID. This epic will only be returned if the user has permission to view it. Note: This operation does not work for epics in next-gen projects.

Implementation

Future<dynamic> getEpic(String epicIdOrKey) async {
  return await _client.send(
    'get',
    'rest/agile/1.0/epic/{epicIdOrKey}',
    pathParameters: {
      'epicIdOrKey': epicIdOrKey,
    },
  );
}