What happens when someone submits your form
- Runs once per new completed submission, in the background after the respondent finishes.
- Opens one new issue in the repository you set (owner/name).
- The issue title is "New submission: <form title>" followed by the submitter's name or email in brackets when the form collects one.
- The issue body is a Markdown bullet list with each question in bold and its answer; empty answers are left out.
- Your comma-separated labels, if any, are applied to every issue.
What gets sent to GitHub Issues
| From your form | In GitHub Issues |
|---|---|
| Form title and submitter name or email | Issue title |
| Every non-empty answer | Issue body, as "- Question: answer" lines |
| Labels field on the setup screen | Issue labels |
How to connect GitHub Issues
Before you start, you need
- A GitHub repository where issues are enabled.
- A fine-grained personal access token with Issues: read and write access on that repository.
- The repository in owner/name form.
- Ideally a private repository, because anyone who can see a public repository can read its issues.
Create a fine-grained personal access token
In GitHub, open Settings, Developer settings, Personal access tokens, Fine-grained tokens, and create a token limited to the one repository. Grant Issues: read and write.
Decide where issues should go
Use a private repository for submissions, or a private intake repository if your code is public. Form answers can include names and emails.
Open GitHub Issues in Fantastic Forms
Go to Integrations, choose GitHub Issues and pick the form to connect.
Enter the token, repository and labels
Paste the token and the repository as owner/name (a full github.com URL also works). Add labels such as form, triage if you want them on every issue.
Turn it on and save
Switch the connection on and click Save.
Test the connection
Test connection reads the repository with your token. It does not open an issue. A "repository not found" message means the name is wrong or the token cannot see it.
Submit the form
Submit the form once and check the repository's Issues tab for the new issue and its labels.
Popular ways to use GitHub Issues with your forms
Bug reports from customers
Give customers a structured bug report form with steps, expected result and browser, and land each report as an issue ready for triage.
Start from a template: Bug Report Form Template, Issue Report Form Template
Feature requests from the whole company
Let sales, support and customers submit feature ideas without GitHub accounts, labelled so product can filter them.
Start from a template: Feature Request Form Template, Product Feedback Form Template
Internal IT and access requests
Track access and software requests as issues in a private ops repository so every request has an owner and a history.
Start from a template: IT Ticket Request Form Template, System Access Request Form Template, Software Request Form Template
Tips for a better setup
- Scope the token to a single repository and only the Issues permission, and give it an expiry you will remember to renew.
- Use labels to tell form issues apart from ones your team opens, for example form or from-website.
- Ask for steps to reproduce in a Long Text question; it becomes one readable line in the issue body.
- Connect each form (bugs, features, access) to its own labels so issues are sorted on arrival.
Good to know
- One issue per submission; existing issues are never updated or commented on.
- Assignees, milestones and projects are not set.
- Only new submissions are sent.
Troubleshooting
Test fails with "repository not found, or the token cannot see it"
Check the owner/name spelling and that the fine-grained token was given access to that specific repository.
Error "GitHub repository must look like owner/name"
Enter the repository as owner/name, for example acme/support. Extra path parts such as /issues are not accepted.
Test passes but issues are not created
The test only needs read access. Make sure the token has Issues: read and write, and that issues are enabled in the repository settings. The exact message appears in the Last error box.
Errors start after weeks of working
Fine-grained tokens expire. Create a new token, paste it on the setup page and save.
GitHub Issues integration FAQ
Do respondents need a GitHub account?
No. They fill in a normal Fantastic Forms form; the issue is opened with your token.
Who is shown as the author of the issue?
The GitHub account that owns the access token. Use a dedicated bot account if you do not want issues opened under your own name.
Can I assign issues or add them to a project?
Not from the form. The integration sets the title, body and labels; use GitHub's own automation or projects workflows to assign and sort them.
Should I use a public repository?
It is better not to. Issues in a public repository are visible to anyone, and form answers often include personal details.
Are file uploads attached to the issue?
The file is not uploaded to GitHub. The answer for a file upload question is written into the issue body as text containing the file's link.