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

#custom_field_with_name(name) ⇒ JIRA::Field?

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

Parameters:

  • name (String)

Returns:



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

def custom_field_with_name name
  custom_fields.find { |cf| cf.name == name }
end