title: How to attach an image when creating an JIRA issue by using JIRA REST APIs
body: <p>I want to create an issue in JIRA through <code>JIRA REST API</code>s.</p>
  
  <p>My question is how to send an (base64) image with the request for a new JIRA ? </p>
  
  <p>Is there any parameter like for other fields (summary, description) or some other way to send the encoded image?</p>
  
  <p>My Request from jQuery function as below:</p>
  
  <pre>
  $.ajax({
      type: 'POST',
      url: 'https://jira.example.com/rest/api/2/issue/',  
      Content-Type: 'application/json',   
      data:
          {
              "fields": {
                   "project":{
                      "key": "TEST"
                   },
              "summary": 'testCaseName',
              "description": 'description',
              "priority": {
                  "name": 'Trivial'
              },
              "issuetype": {
                   "name": "Bug"
              }
          }
      },
           dataType:"html",                                                                 
      success: function() {
          alert("success");
      },
      error:function(){
          alert("failure");
      }
  }); 
  
  </pre>
  
  <p>Send Enceoded(image in the format of base64) with this request is it possible?          </p>