summaryrefslogtreecommitdiff
path: root/app/models/project_services/bugzilla_service.rb
blob: 8b79b5e9f0c17d972a611d2aac4959f79a375b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

class BugzillaService < IssueTrackerService
  validates :project_url, :issues_url, :new_issue_url, presence: true, public_url: true, if: :activated?

  prop_accessor :project_url, :issues_url, :new_issue_url

  def default_title
    'Bugzilla'
  end

  def default_description
    s_('IssueTracker|Bugzilla issue tracker')
  end

  def self.to_param
    'bugzilla'
  end
end