- Issue Creator
- Issue Assignee
- Issue Open/Close Date
- People who commented on the Issue (Numbers and their Username)
- Issue Content
-
Create a .env file and put the Authorization variable as:
Authorization = <Your Github Personal Token>
-
Now put your username and the repository you wanna test on lines 67 and 68 in issueDetails.js.Now, you are good to go and use the following script.
Script could be understood in a following manner:
- Primarily there is a function
getDetails
in which username and repoName is passed. - First all the issues is obtained from that repository.
- After that that array of issues is mapped to get all the details.