Error in my first project page

Anyone can help me to solve the "data.issues " problem please!!!
function: fetchIssuesWithNumberOfComments



What appears in the logs if you:

console.log(JSON.stringify(data));

on line 16?

Hello @mariemdridi ,

In line 13, since you want to use the value of projectKey in the jql, use backticks ` instead of single quotes '. You’ll probably hit an invalid JQL query error response with the existing implementation, causing data.issues to not be iterable.

Cheers,
Ian

1 Like