You will want to link tasks with Confluence pages, Jira issues, or other contents. Gantt chart tasks can have web links to arbitrary URLs. If tasks have web links, you can go to the URL when you click the task name.
URL protocol must be HTTPS, HTTP, FTPS, or FTP.
How to add a web link to tasks
Set web link property of the task.
See Properties of task for details.