diff --git a/issue.go b/issue.go index 338424f..4837eea 100644 --- a/issue.go +++ b/issue.go @@ -810,7 +810,7 @@ func (s * IssueService) Rank(issueIDs []string, beforeIssue, afterIssue string, } else { reqBody = &RankAfterReqBody { Issues: issueIDs, - RankAfterIssue: beforeIssue, + RankAfterIssue: afterIssue, RankCustomFieldId: customFieldId, } }