Is it possible to get copilot usage of each users in github cloud enterprise in csv format ? #68296
Replies: 3 comments
-
Using CLI: You can use the GitHub CLI to get user activity data in JSON format. To do this, run the following command: This will return a JSON object containing all of the issues in the specified repository. You can then use a JSON to CSV converter to convert the JSON object to a CSV file. Using API: You can also use the GitHub API to get user activity data. To do this, you will need to make a GET request to the following endpoint: Using a third-party tool: There are also a number of third-party tools that can help you get user activity on GitHub in CSV format. One popular tool is the GitHub Insights API. This tool allows you to generate reports on a variety of GitHub metrics, including user activity. To use the GitHub Insights API, you will need to create an account and obtain an API token. Once you have an API token, you can use it to make requests to the API. Copilot usage of each user: To get the Copilot usage of each user, you can use the following steps:
This CSV file will contain the following information:
|
Beta Was this translation helpful? Give feedback.
-
I couldn't find below details from csv Number of lines of code written with Copilot Below is the details i got from csv. I am using Enterprise cloud Login | Status | Team | Last Activity Date | Last Editor Used Also I didn't find the "GitHub Insights page." I went to each organization >> Code, planning, and automation >> Click on "Copilot" >> Access >> Click Get report Are you also referring the same @milindaShehan Thank you for your reply ? |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hi,
I want to get the user activity on github in CSV format, Any option using cli or api or any method ? Also copilot usage of each users. Any help will be much appreciated
Beta Was this translation helpful? Give feedback.
All reactions