How can I add JavaScript objects to another JavaScript object or array to organize issues like a collection?

Hi! @heenakhan.khatri, Your question about structuring collections of objects in JavaScript is a fundamental one, and there’s a very common and practical way to achieve that indexed access you’re looking for.

The most common and practical way is simply to use an array of objects to hold your multiple objects, then add new issue objects with Issues.push():

var Issues = [];

Issues.push({ "ID": "1", "Name": "Missing Documentation", "Notes": "Issue1 Notes" });
Issues.push({ "ID": "2", "Name": "Software Bug", "Notes": "Issue2 Notes" });

console.log(Issues[0].Name); // "Missing Documentation"`

Arrays keep things ordered and are incredibly easy to iterate over, providing that Issues[0].Name access pattern you described.

Hope you find this useful :grinning: