Class: RedmineRemotes::Jira::Instance

Inherits:
Avmtrf1::Jira::Instance
  • Object
show all
Defined in:
lib/redmine_remotes/jira/instance.rb

Constant Summary collapse

DEFAULT_DESCRIPTION_FIELD =
'description'

Instance Method Summary collapse

Instance Method Details

#description_fieldObject



11
12
13
14
# File 'lib/redmine_remotes/jira/instance.rb', line 11

def description_field
  remote_tracker.setting_value(::RemoteTrackerSetting::NAME_FIELD_DESCRIPTION)
    .if_present(DEFAULT_DESCRIPTION_FIELD)
end

#issue_human_view_url(issue_code) ⇒ Object



16
17
18
# File 'lib/redmine_remotes/jira/instance.rb', line 16

def issue_human_view_url(issue_code)
  "#{root_url}/browse/#{issue_code.to_s.upcase}"
end