Module: WorkItems::TypesFramework::SystemDefined::Definitions::Ticket
- Defined in:
- app/models/work_items/types_framework/system_defined/definitions/ticket.rb
Class Method Summary collapse
- .configurable ⇒ Object
- .configuration ⇒ Object
- .service_desk? ⇒ Boolean
- .use_legacy_view? ⇒ Boolean
- .widget_options ⇒ Object
- .widgets ⇒ Object
Class Method Details
.configurable ⇒ Object
56 57 58 |
# File 'app/models/work_items/types_framework/system_defined/definitions/ticket.rb', line 56 def configurable false end |
.configuration ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'app/models/work_items/types_framework/system_defined/definitions/ticket.rb', line 39 def configuration { id: 9, name: 'Ticket', base_type: 'ticket', icon_name: "work-item-ticket" } end |
.service_desk? ⇒ Boolean
52 53 54 |
# File 'app/models/work_items/types_framework/system_defined/definitions/ticket.rb', line 52 def service_desk? true end |
.use_legacy_view? ⇒ Boolean
48 49 50 |
# File 'app/models/work_items/types_framework/system_defined/definitions/ticket.rb', line 48 def use_legacy_view? true end |
.widget_options ⇒ Object
35 36 37 |
# File 'app/models/work_items/types_framework/system_defined/definitions/ticket.rb', line 35 def { weight: { editable: true, rollup: false } } end |
.widgets ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'app/models/work_items/types_framework/system_defined/definitions/ticket.rb', line 9 def %w[ assignees award_emoji crm_contacts current_user_todos custom_fields description designs development email_participants health_status hierarchy iteration labels linked_items milestone notes notifications participants start_and_due_date time_tracking weight ] end |