Get outputs from jq on a single line
<p>I got below output using: <a href="https://stackoverflow.com/a/40330344">https://stackoverflow.com/a/40330344</a></p>

<pre><code> (.issues[] | {key, status: .fields.status.name, assignee: .fields.assignee.emailAddress})
</code></pre>

<p>Output:</p>

<pre><code> {  
   "key": "SEA-739",
   "status": "Open",
   "assignee": null
 }
 {
   "key": "SEA-738",
   "status": "Resolved",
   "assignee": "user2@mycompany.com"
 }
</code></pre>

<p>But I need to parse each and every line but it's tough to identify which assignee is for which key as far as key group is concerned. Is this possible to make one bunch in one row using jq?</p>

<p>Expected output:</p>

<pre><code>{ "key": "SEA-739", "status": "Open", "assignee": null }
{ "key": "SEA-738", "status": "Resolved", "assignee": "user2@mycompany.com"}
</code></pre>

<p>OR</p>

<pre><code>{ "SEA-739", "Open", null }
{ "SEA-738", "Resolved", user2@mycompany.com }
</code></pre>