Module: JIRA::RemoteAPIAdditions

Included in:
JIRAService
Defined in:
lib/jiraSOAP/api/additions.rb

Overview

Methods declared here do not directly map to methods defined in JIRA's SOAP API javadoc. They are generally close to something from the javadoc but with some extra conveniences.

Instance Method Summary collapse

Instance Method Details

#get_custom_field_with_name(name) ⇒ JIRA::Field?

Returns the first field that exactly matches the given name, otherwise returns nil.

Parameters:

  • name (String)

Returns:



12
13
14
15
16
17
# File 'lib/jiraSOAP/api/additions.rb', line 12

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