🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 23, 2026

How to Create GitLab Issues From Gravity Forms Submissions

GravityExtra
How to Create GitLab Issues From Gravity Forms Submissions

Support requests, bug reports and feature ideas often start life in a web form, and they usually end up in a development team that lives in GitLab. In between there is a person who copies the answers from an e-mail into a new issue, picks the labels, and hopes nothing was lost. This tutorial shows how to remove that step: every time someone sends a Gravity Forms form, a GitLab issue is created on its own, in the right project, with the answers in the description. It works with gitlab.com and with a GitLab that you host yourself.

Why send form entries to GitLab

A form is the easiest way for a customer, a tester or a colleague to describe a problem, because it asks the right questions in the right order. An issue tracker is the easiest way for a team to work on problems, because it has owners, labels, milestones and a history. Joining the two gives you several things at once.

  • Nothing is retyped. The name, the e-mail address, the steps to reproduce and the file of the screenshot arrive exactly as they were typed.
  • Nothing is forgotten. An e-mail can sit unread for a week; an issue appears in the board where the team already looks.
  • Triage starts at once. Labels, an assignee and a due date can be set from the answers, so an urgent report lands in the urgent column.
  • You keep a trail. The entry in WordPress shows which issue was created, and the issue shows which entry it came from.

What you need before you start

  • A WordPress site with Gravity Forms 2.9 or newer.
  • The Gravity Forms GitLab Issues Premium Add-on.
  • A GitLab project with issues turned on, on gitlab.com or on your own server.
  • A GitLab access token that may create issues. Both a personal access token and a project access token work.

Step 1: make the access token in GitLab

GitLab accepts two kinds of tokens for this job, and both need the api scope, which is the permission that includes creating issues.

A project access token belongs to one project. Open the project, go to Settings and then Access tokens, add a token, tick the api scope, and choose the Reporter role or higher. The issues are created by a bot user that GitLab makes for the token, which keeps your own name out of the history. This is the best choice when one form feeds one project.

A personal access token belongs to a person. Open your profile, go to Access tokens, add a token and tick the api scope. The issues are created in that person name, and the token can reach every project that person can reach. Many teams make a dedicated form user with the Reporter role in the projects it needs, and use a token of that user.

Whichever you choose, give it an expiry date and write the date in your calendar. When a token expires, the form keeps working and saving entries, but the issues stop until you replace the token. The note on each entry tells you when that happens.

Step 2: connect GitLab to Gravity Forms

Install and activate the add-on after Gravity Forms. Open Forms, then Settings, then GitLab, enter your license key, and fill in the connection.

  • GitLab address: leave https://gitlab.com for the hosted service, or type the address of your own GitLab, such as https://gitlab.yourcompany.com. A port or a sub-path is accepted, and a trailing /api/v4 is removed for you.
  • Access token: paste the token. It is encrypted before it is saved, and the field never shows it again.
  • Default project: optional. Type the project number or its path, such as my-group/my-project.
The GitLab connection settings of the add-on: GitLab address, access token, default project and the Test connection button showing a green result
Forms, Settings, GitLab: the address, the token (never shown), the default project and the Test connection button.

Press Save Settings, then Test connection. The add-on asks GitLab for its version, or for your default project, and tells you in green that it worked, or in red what GitLab answered. HTTP 401 means the token is wrong or has expired. HTTP 404 means the project path is wrong, or the token has no access to it.

Step 3: add a feed to your form

Open the form that should create issues, go to Settings, then GitLab, and choose Add New. The feed form is short.

  1. Give the feed a name.
  2. Type the project. You can paste the project address from your browser, type the path, or use a merge tag to choose the project from an answer. If you leave it empty the default project is used.
  3. Type the issue title, for example the subject merge tag of your form.
  4. Keep {all_fields} in the description to get every answer as a tidy list, or write your own text and use merge tags for the parts you need.
  5. Add labels such as web-form, and an assignee if one person should receive every report.
  6. Save the feed.
The GitLab feed settings of a Gravity Forms form: project, issue title, description with all fields, entry link, confidential, type, labels, assignees and due date
The feed of a form: where the issue goes and what it contains, with merge tags in every text field.

Two checkboxes deserve a look. Entry link adds the form name and a link to the entry to the end of the issue, which is very useful when a developer needs to see the original submission. Confidential is ticked for a new feed. A confidential issue is visible only to project members, which is what you want when a form collects names and e-mail addresses. Untick it if the project is public and the reports are meant to be public too.

Step 4: send a test entry

Open the form on your site and send it. Then open the entry in the Gravity Forms entries list. In the Notes box you find a line from GitLab with the number of the issue and its address. Click the address, and the issue is there, with the answers in the description.

A Gravity Forms entry screen with the GitLab note: issue number 60 created, with the address of the issue
The entry screen: a note with the number and the address of the issue that was created.

If something is wrong, the note says so in plain words. The most common causes are an expired token, a project path with a typing mistake, and a role that is too low.

Using labels, assignees, milestones and due dates

The optional part of the feed turns answers into triage. A labels field such as web-form, {Priority:4} gives each issue a label of its own, taken from the Priority choice. A date field in the year-month-day format can feed the due date. A milestone number can put every report of a form into the current sprint. Assignees are GitLab user numbers; GitLab Free accepts one, and Premium and Ultimate accept several.

Conditional logic works as it does in any Gravity Forms feed. A form can have one feed for urgent reports that creates a confidential incident and another for everything else that creates a normal issue.

Tips for a self-hosted GitLab

  • Always use https. The token is sent with every request, so an address that starts with http is refused.
  • Your GitLab must be reachable from the internet by the server that runs WordPress. A GitLab on a private network address is refused on purpose, so that a form can never be used to reach machines inside your network. If your setup really needs it, a developer can allow one named host with a filter.
  • Use a valid certificate. Certificate checking cannot be switched off. If you use your own certificate authority, install it on the web server of the WordPress site.
  • Check the address with the Test connection button. It reports redirects, DNS problems and certificate problems in words.

Keep the token and the issues safe

Putting form answers into an issue tracker means that text typed by strangers ends up in a tool where text can have powers. GitLab runs quick actions: a line that starts with a slash can close an issue, assign it, change its labels or make it confidential. A visitor who types such a line into a text box should not be able to do that, and with this add-on they cannot, because an invisible character is placed in front of the slash and in front of every @mention. The text stays readable and nobody is notified.

The token is treated with the same care. It is encrypted with AES-256-GCM before it is stored, it is never shown on a page or written in a note, and it is sent only to the GitLab address you typed, without following redirects. If you want it out of the database completely, define it in wp-config.php instead.

Troubleshooting

  • No issue and no note at all. The license is not active, the feed is not active, or its condition was not met.
  • HTTP 401. Make a new token and save it in the settings.
  • HTTP 403. The token has no api scope, the role is lower than Reporter, or the project has issues turned off.
  • HTTP 404. Check the path. A group, a subgroup and a project are separated by slashes, for example my-group/my-subgroup/my-project.
  • HTTP 429. GitLab limits how fast issues can be created. Wait a little; the entry keeps a note, and the issue can be made by hand.
  • Private or local network. The address points to a machine that is not on the public internet.

Frequently asked questions

Can I use a project access token on gitlab.com?

Project access tokens on gitlab.com are part of the Premium and Ultimate plans. On the Free plan use a personal access token, preferably of a dedicated form user.

Does a GitLab outage lose form entries?

No. The entry is saved first, and the issue is made afterwards. If GitLab cannot be reached, the entry keeps a note with the reason.

Can the visitor see the issue?

No. The address of the issue is saved on the entry in WordPress for your team.

Does it update or close issues?

No. It creates issues. That keeps the add-on simple and the token permissions small.

Get the add-on

The Gravity Forms GitLab Issues Premium Add-on sends every submission you choose to GitLab, on gitlab.com or on your own server, with labels, assignees, milestones, due dates and a confidential option, and keeps the token encrypted. See the price and the details on the add-on page.

See the GitLab Issues add-on

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr