title: Create an array of JavaScript objects from an existing array of objects
body: <p>my first time posting a question here, so please let me know if I'm missing any information that is needed. Updated to include desired output.</p>
  
  <p>I'm working on a google app script (basically javascript) and am trying to pull objects from an array of objects and create a new array of objects. I'm using the google base functions for getRowData (these can be found at : <a href="https://developers.google.com/apps-script/guides/sheets" rel="nofollow">https://developers.google.com/apps-script/guides/sheets</a>) to create my initial array of objects. This gives me a row of data similar (A JIRA export if anyone is wondering, with information cut):</p>
  
  <pre><code>{summary=Internal - Fix PuppetFile Jenkins Jobs, progress=1.0, issueType=Story, resolution=Done, timeSpent=3600.0, key=XXXXX-646, watchers=0.0, remainingEstimate=0.0, numberOfComments=1.0, status=Resolved, assignee=XXXXXXXX}
  </code></pre>
  
  <p>When I run my function:</p>
  
  <pre><code>for (var i = 0; i &lt; issueList.length; i++){
  
  rankList[i] = [issueList[i].summary,issueList[i].storyPoints,issueList[i].epicLink,issueList[i].fixVersions];
  }
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>[Internal - Fix PuppetFile Jenkins Jobs, 3.0, null, null]
  </code></pre>
  
  <p>But what I want is:</p>
  
  <pre><code>{summary=Internal - Fix PuppetFile Jenkins Jobs, storyPoints=1.0, epicLink=StoryName, fixVersions=Done}
  </code></pre>
  
  <p>I'm not getting the key for the value, and I don't understand how the objects are constructed quite well enough to get it to transfer over. I looked at some examples of manipulating the key/value pairs but when I tried it on my own I just got a bunch of undefined. Thank you for any help you can provide.</p>