diff options
Diffstat (limited to 'lib/atlassian/jira_connect.rb')
-rw-r--r-- | lib/atlassian/jira_connect.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/atlassian/jira_connect.rb b/lib/atlassian/jira_connect.rb index 7f693eff59b..595cf0ac465 100644 --- a/lib/atlassian/jira_connect.rb +++ b/lib/atlassian/jira_connect.rb @@ -8,7 +8,10 @@ module Atlassian end def app_key - "gitlab-jira-connect-#{gitlab_host}" + # App key must be <= 64 characters. + # See: https://developer.atlassian.com/cloud/jira/platform/connect-app-descriptor/#app-descriptor-structure + + "gitlab-jira-connect-#{gitlab_host}"[..63] end private |