Submit a GitHub issue using Power Apps
I’ve installed a lot of Power Apps templates and community applications lately, most of them are hosted and maintained on GitHub and very little too few of them provide the ability for your to log and issue or provide feedback of the application.
With the latest GitHub connector1 release, I build a simple issue tracking application using Power Apps and Power Automate that will allow users to log issues in the application. The idea is simple, the Power App runs a Power Automate flow that will create an issue in GitHub.
In the future I will investigate more functionality like release management and even a what’s new section.
Preview
Preview of the app
Let’s build the Power App
Create textboxes in a Power App
The first step is to create a Power App, and add two textboxes and a button onto a page
Connect Power Apps to Power Automate
Next you need to add a Power Automate action to your button click. You first select the button and on the menu bar select the OnSelect event and Power Automate in the menu. This will bring up a menu with all the Power Automates linked to your Power App.
Select Create a new flow. This will take you to the Power Automate interface.
Power Automate
Send JSON as parameters
On the Power Automate screen, you want to pass the content from your Power App to the flow. In order to do this, select Ask in Power Apps.
Parse JSON and submit to GitHub
The last step is to take the content that was passed and convert it from JSON. The JSON is passed in as a parameter (Step 4 of the Power App) and I set the GitHub Title and Description.