Module: FerrisBueller::Constants

Included in:
Helpers
Defined in:
lib/ferris-bueller/constants.rb

Constant Summary collapse

RETRY_DELAY =
5
RESOLVED_TRANSITIONS =
%w[ 51 ]
RESOLVED_STATE =
/resolve/i
CLOSED_TRANSITIONS =
%w[ 61 71 ]
CLOSED_STATE =
/close/i
SEVERITIES =
{
  1 => '10480',
  2 => '10481',
  3 => '10482',
  4 => '10483',
  5 => '10484'
}
SHOW_FIELDS =
{
  'summary' => 'Summary',
  'description' => 'Description',
  'customfield_11250' => 'Severity',
  'customfield_11251' => 'Impact Started',
  'customfield_11252' => 'Impact Ended',
  'customfield_11253' => 'Reported By',
  'customfield_11254' => 'Services Affected',
  'customfield_11255' => 'Cause',
  'status' => 'Status',
  'created' => 'Created',
  'updated' => 'Updated'
}
SEVERITY_FIELD =
SHOW_FIELDS.key('Severity')