title: get customfield value for jira issue using JIRA SOAP API
body: <p>I want to get the values of all custom fields for a particular JIRA issue using SOAP API. I have a custom field named <strong>'Phase'</strong> having value <strong>Decision Pending</strong> for a JIRA issue <strong>JIRA-123</strong>.</p>
  
  <p>I am using <code>JIRA 5.1.3</code>.</p>
  
  <p>I am able to get all the properties of JIRA issue using SOAP API except the value of the  custom field for above issue.</p>
  
  <p>I tried following code, but I am not able to use <strong>ComponentManager</strong> in my code</p>
  
  <pre><code>IssueManager issueManager = ComponentManager.getInstance().getIssueManager();
  CustomFieldManager customFieldManager = ComponentManager.getInstance().getCustomFieldManager();
  Issue issue = issueManager.getIssueObject("JIRA-123");
  CustomField customField = customFieldManager.getCustomFieldObjectByName("Phase");
  Object customFieldValue = issue.getCustomFieldValue(customField);
  </code></pre>
  
  <p>I would highly appreciate if anyone can provide correct approach.</p>