/** Returns issue key if possible. Use for debug output. */
@Nullable
public static String getDebugIssueKey(long issueId) {
try {
IssueManager issueManager = ComponentAccessor.getIssueManager();
MutableIssue io = issueManager == null ? null : issueManager.getIssueObject(issueId);
return io == null ? null : io.getKey();
} catch (Exception ignored) {}
return null;
}