Collecting issue and pull request data for a GitHub organization

doi: 10.53962/gm7y-31n5

Originally published on 2024-01-25 under a CC0 Public Domain Dedication

Authors

Summary

This module includes a script to collect all the pull requests and issues for a GitHub organization. The resulting data includes date created, date closed, date closed, title, and number of comments. The script outputs both a JSON and CSV file. This script is written with the support of GitHub copilot. To run this, you need to add the organization of interest, your Personal Access Token (from your GitHub account settings) and ensure you have the dependencies (curl and jq).

Main file

github-data.sh