Module: Integrations::Base::Linear

Extended by:
ActiveSupport::Concern
Includes:
IssueTracker, HasAvatar
Included in:
Linear
Defined in:
app/models/concerns/integrations/base/linear.rb

Constant Summary collapse

LINEAR_WORKSPACE_URI_REGEX =

Workspace keys in the URL must be between 3 and 32 characters long and contain only lowercase letters, numbers, and hyphens.

%r{\Ahttps://linear\.app/[a-z0-9\-]{3,32}/?\z}
LINEAR_ISSUE_REFERENCE =

References like FEAT-123. The project key part is between one and 7 characters long and uppercase letters + digits

%r{\b(?<issue>[A-Z0-9]{1,7}-\d+)\b}

Constants included from IssueTracker

IssueTracker::REFERENCE_PATTERN_LONG_REGEXP, IssueTracker::REFERENCE_PATTERN_REGEXP

Method Summary

Methods included from HasAvatar

#avatar_url

Methods included from IssueTracker

#activate_disabled_reason, #create_cross_reference_note, #data_fields, #default?, #execute, #handle_properties, #issue_path, #issue_tracker_path, #issue_url, #legacy_properties_data, #new_issue_path, #reference_pattern, #set_default_data, #support_close_issue?, #support_cross_reference?, #supports_data_fields?