Skip to content

Commit

Permalink
chore: Improve error message for JIRA issue key not found
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 committed Aug 8, 2024
1 parent 38d6267 commit 6bebd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/jira/enforce-jira-issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function doesIssueExist(
);
if (issue.key !== issueNumber) {
core.error(
`JIRA issue key ${issueNumber} not found, but found issue key ${issue.key} instead`
`JIRA issue key ${issueNumber} not found, but found issue key ${issue.key} instead. This can happen if the identifier doesn't match an issue, in which case a case-insensitive search and check for moved issues is performed. Make sure the issue key is correct.`
);
return false;
}
Expand Down

0 comments on commit 6bebd74

Please sign in to comment.