Module: RemoteAPIAdditions

Included in:
JIRA::JIRAService
Defined in:
lib/jiraSOAP/api/convenience.rb

Instance Method Summary collapse

Instance Method Details

#get_custom_field_with_name(name) ⇒ JIRA::Field?

Returns nil if the field is not found.

Parameters:

  • name (String)

Returns:



6
7
8
9
10
11
# File 'lib/jiraSOAP/api/convenience.rb', line 6

def get_custom_field_with_name name
  get_custom_fields.each { |cf|
    return cf if cf.name == name
  }
  nil
end