Class: JIRA::ServerConfiguration

Inherits:
Entity
  • Object
show all
Defined in:
lib/jiraSOAP/entities/server_configuration.rb

Overview

A simple structure that is used by RemoteAPI#server_configuration.

Instance Method Summary collapse

Methods inherited from Entity

add_attribute, inherited, #initialize_with_xml, new_with_xml

Instance Method Details

#attachments_allowedBoolean

Returns:

  • (Boolean)


9
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 9

add_attribute :attachments_allowed, 'allowAttachments', :to_boolean

#external_user_management_allowedBoolean

Note:

JIRA misspells 'management', so we define this attribute twice to cover both cases.

Returns:

  • (Boolean)


6
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 6

add_attribute :external_user_management_allowed, 'allowExternalUserManagement',  :to_boolean

#issue_linking_allowedBoolean

Returns:

  • (Boolean)


12
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 12

add_attribute :issue_linking_allowed, 'allowIssueLinking', :to_boolean

#subtasks_allowedBoolean

Returns:

  • (Boolean)


15
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 15

add_attribute :subtasks_allowed, 'allowSubTasks', :to_boolean

#time_tracking_allowedBoolean

Returns:

  • (Boolean)


18
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 18

add_attribute :time_tracking_allowed, 'allowTimeTracking', :to_boolean

#time_tracking_days_per_weekNumber

Returns:

  • (Number)


30
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 30

add_attribute :time_tracking_days_per_week, 'timeTrackingDaysPerWeek', :to_i

#time_tracking_hours_per_dayNumber

Returns:

  • (Number)


33
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 33

add_attribute :time_tracking_hours_per_day, 'timeTrackingHoursPerDay', :to_i

#unassigned_issues_allowedBoolean

Returns:

  • (Boolean)


21
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 21

add_attribute :unassigned_issues_allowed, 'allowUnassignedIssues', :to_boolean

#voting_allowedBoolean

Returns:

  • (Boolean)


24
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 24

add_attribute :voting_allowed, 'allowVoting', :to_boolean

#watching_allowedBoolean

Returns:

  • (Boolean)


27
# File 'lib/jiraSOAP/entities/server_configuration.rb', line 27

add_attribute :watching_allowed, 'allowWatching', :to_boolean