createIssueLinkType method

Future<IssueLinkType> createIssueLinkType({
  1. required IssueLinkType body,
})

Creates an issue link type. Use this operation to create descriptions of the reasons why issues are linked. The issue link type consists of a name and descriptions for a link's inward and outward relationships.

To use this operation, the site must have issue linking enabled.

Permissions required: Administer Jira global permission.

Implementation

Future<IssueLinkType> createIssueLinkType(
    {required IssueLinkType body}) async {
  return IssueLinkType.fromJson(await _client.send(
    'post',
    'rest/api/3/issueLinkType',
    body: body.toJson(),
  ));
}