GitLab drops the product prefix, and only supports a single hardcoded URL which means setting up an autolinking rule from Gitlab/Github to Aha! is not possible.
You can create a new autolink reference to Aha! Develop with these guidelines:
Reference prefix: The alphanumeric prefix on the epics, features, and requirements in Aha! Develop (e.g. CYCL-). You may need to add multiple autolink references in GitHub/GitLab to support all of your projects in Aha!
https://account.aha.io/records/<num>, where account is the subdomain for your Aha! account.