create_issue_link
Links two issues of the organization: issueKey [relation] otherIssueKey, e.g. 'BRD-7 BlockedBy BRD-3' means BRD-7 waits for BRD-3. Requires canEdit on issueKey (see get_issue/list_issues) and read access to otherIssueKey - if you can edit only the other issue, swap the keys and use the opposite relation (Blocks <-> BlockedBy, Duplicates <-> DuplicatedBy; RelatesTo is the same both ways): the link is the same. Two issues can have only one link - delete_issue_link first to change its type. Blocks links can't form a cycle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueKey | Yes | The issue to link from, e.g. 'BRD-7'. | |
| relation | Yes | What the link means from issueKey's side, one of (case-insensitive): Blocks (issueKey must be done before otherIssueKey), BlockedBy (otherIssueKey must be done before issueKey), RelatesTo (related, no order), Duplicates (issueKey is a duplicate of otherIssueKey, the original), DuplicatedBy (otherIssueKey is a duplicate of issueKey, the original). | |
| otherIssueKey | Yes | The issue on the other end, e.g. 'BRD-3'. |