Fixed the issue tracker in the project sidebar
What does this MR do?
Fixes the issue tracker link in the project sidebar. Also hides labels, milestones & boards link in the sidebar when Jira or custom tracker is enabled.
What are the relevant issue numbers?
Closes #36694 (closed)