Skip to content

Latest commit

 

History

History

Github_Fetch_Issue_Details

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Issue Fetch Script

Its a script to capture the following points:

  • Issue Creator
  • Issue Assignee
  • Issue Open/Close Date
  • People who commented on the Issue (Numbers and their Username)
  • Issue Content

Setup instructions

  • 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.

Detailed explanation of script, if needed

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.

Output

issue_details.mp4

Author

Naman