gitlabconfluence

Can you connect a self hosted Confluence Wiki to a self hosted Gitlab Server (Tier: free)?


I know you can use integrations for cloud-based Confluence Sites, however the documentation does not indicate that possibility for self-hosted instances. Is there a way to connect without using the cloud solution, which is not an option for my case.


Solution

  • One can add external links (as I ended up doing) to a project and thus can refer to a documentation via adding a confluence-link in the "external wiki"-section (Project→ Settings→Integration→External wiki). Make sure to use the link from the "share"-button, otherwise the link breaks on renaming the page. Do note that this will be just a link in the project-sidebar:

    External wiki as shown on GitLab

    If you have your documentation only in Confluence, you can disable the gitlab-internal wiki (per project), by going to Project→ Settings→General→Visibility and toggling "Wiki" off. So you can avoid having two wiki-items in your sidebar.

    Some time ago the UI changed, the external wiki is now hidden under the point "Plan", but it can be pinned to the top:

    enter image description here