Module: Atlassian::JiraConnect

Defined in:
lib/atlassian/jira_connect.rb,
lib/atlassian/jira_connect/client.rb,
lib/atlassian/jira_connect/jira_user.rb,
lib/atlassian/jira_connect/jwt/symmetric.rb,
lib/atlassian/jira_connect/jwt/asymmetric.rb,
lib/atlassian/jira_connect/serializers/base_entity.rb,
lib/atlassian/jira_connect/serializers/file_entity.rb,
lib/atlassian/jira_connect/serializers/build_entity.rb,
lib/atlassian/jira_connect/serializers/author_entity.rb,
lib/atlassian/jira_connect/serializers/branch_entity.rb,
lib/atlassian/jira_connect/serializers/commit_entity.rb,
lib/atlassian/jira_connect/serializers/pipeline_entity.rb,
lib/atlassian/jira_connect/serializers/deployment_entity.rb,
lib/atlassian/jira_connect/serializers/repository_entity.rb,
lib/atlassian/jira_connect/serializers/environment_entity.rb,
lib/atlassian/jira_connect/serializers/feature_flag_entity.rb,
lib/atlassian/jira_connect/serializers/pull_request_entity.rb

Defined Under Namespace

Modules: Jwt, Serializers Classes: Client, JiraUser

Class Method Summary collapse

Class Method Details

.app_keyObject


10
11
12
13
14
15
# File 'lib/atlassian/jira_connect.rb', line 10

def app_key
  # 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

.app_nameObject


6
7
8
# File 'lib/atlassian/jira_connect.rb', line 6

def app_name
  "GitLab for Jira (#{gitlab_host})"
end