Mohit Kaushik
Mega Sage

Hi Sironi,

// You need to change the below code:
while (story.next()) {
            arr.push(story.number + ": " + story.short_description);
            arr.push("Release Notes : " + story.u_release_notes.toString());
            results = arr.join("\n"); // remove this line from your code.
        }

// add below code outside of your while loop
for(var i=0;i<arr.length;i++){
results = arr[i] +'\n';
}

 

This should give you the correct output.

 

Please mark this as correct and helpful if it resolved the query or lead you in right direction.

Thanks,
Mohit Kaushik
Community Rising Star 2022

 

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)