🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Redmine Premium Add-on Setup Guide

Updated 8 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Enable REST and get your API key in Redmine
  4. The settings page
  5. Redmine address
  6. API key, stored encrypted
  7. Default project and the test button
  8. Build a feed for a form
  9. Project and tracker
  10. Subject and description
  11. Priority, assignee and more issue fields
  12. Custom fields
  13. Log a time entry
  14. A condition
  15. The form your visitors see
  16. What happens on submit, and the entry note
  17. Security and privacy
  18. Troubleshooting

Video walkthrough

Gravity Forms Redmine Add-On Setup Guide: Issues from Entries (WordPress Side)
Video setup guide: Gravity Forms Redmine Watch on YouTube

The Gravity Forms Redmine Premium Add-on turns a Gravity Forms submission into a Redmine issue. When someone sends your form, the add-on creates an issue in your Redmine — with the subject, description, project, tracker, priority, assignee and custom fields you choose — so a bug report, a support request or a change request lands in your tracker ready to work on, instead of waiting in an inbox. It can also log an optional time entry on the new issue.

You connect with your own Redmine and your own API access key, over the Redmine REST API. Redmine is open source and you run it wherever you like; the add-on only needs its address and a key, which it stores encrypted on your site. This guide walks through getting the key, filling in the settings, building a feed, and everything each field does.

What you need

  • WordPress with Gravity Forms 2.9 or newer.
  • PHP 7.4 or newer.
  • An active license key for this add-on.
  • A Redmine you can reach over https, with the REST API enabled and a personal API access key.

If Gravity Forms is missing or older than 2.9, the add-on shows a notice in the WordPress admin and does nothing else, so a form is never left half connected.

Enable REST and get your API key in Redmine

Two small steps in Redmine make the connection possible. First, an administrator turns on the REST API: open Administration → Settings → API and tick Enable REST web service. Without this, Redmine refuses every API request and the add-on cannot create anything.

Second, get your personal key. Sign in to Redmine as the user whose name should own the new issues, open My account, and look for API access key on the right. Click to show it and copy the value. This key acts on your behalf, so keep it to yourself, the same as a password. If you ever need to invalidate it, Redmine lets you reset the key, after which you paste the new one here.

The settings page

Install and activate the add-on like any plugin, after Gravity Forms. Then open Forms → Settings → Redmine. This page holds the license key and the one connection that every feed shares.

The Redmine settings page in Gravity Forms: license key, the Redmine address, the API key field and a default project, with a Test connection button
The settings page: your Redmine address, the API key, a default project and the test button.

Redmine address

Enter the address of your Redmine, for example https://redmine.yourcompany.com. Use the root address only; do not add a path such as /issues or /projects. The add-on accepts a host on any port and even on a sub-path (https://apps.yourcompany.com/redmine), and it works the same with a Redmine you host yourself. For safety the address must use https, and an address that points at a private or local network is refused by default; there is a filter to allow an internal Redmine, described near the end of this guide.

API key, stored encrypted

Paste the API access key you copied from My account. The key is stored encrypted at rest, so the plain value is never left sitting in the database. After it is saved it is shown masked, it is never written to an entry or a log, and you can replace it at any time. If you would rather keep the key out of the database entirely, define GFRM_API_KEY in wp-config.php; the add-on then uses the constant and hides the field.

Default project and the test button

The default project is optional. Set it to a project identifier (the short name in the project address, such as support) or its numeric id, and any feed that leaves its own project empty will use it. Next to the fields is a Test connection button. Press it and the add-on asks Redmine who the key belongs to, or, when a default project is set, that the project exists. A green result means the address and key work; a clear message tells you if the key is wrong, REST is off, or the project cannot be found. Save first if you changed the key, because the test uses what is saved.

Build a feed for a form

A feed is the rule that says “when this form is submitted, create a Redmine issue like this”. Open a form, go to Settings → Redmine and add a feed. You can have more than one feed on a form, each creating its own issue.

A Gravity Forms Redmine feed: project and tracker, the issue subject and description, priority, assignee, category, parent issue, custom-field mapping and an optional time entry
A feed maps your form fields onto a Redmine issue, with optional time logging.

Project and tracker

Set the Project to the project identifier or numeric id that the issue belongs to. Leave it empty to use the default project from the settings. You can paste a project address copied from Redmine and the add-on will take the identifier from it, and you can build the value from a merge tag if the right project depends on an answer. The Tracker ID is the numeric id of a tracker (for example 1 for Bug, 2 for Feature); leave it empty to let Redmine pick the project default.

Subject and description

The Subject becomes the issue title; it is one line, up to 255 characters, and merge tags work, so {Subject:3} uses the visitor’s own subject. The Description is the issue body. The special tag {all_fields} expands into a tidy list of every answer on the form, each on its own line, which is the quickest way to capture a whole submission. You can mix it with your own text and other merge tags, for example a line of context above an {all_fields} block. Turn on Entry link to add the form name and a link back to the Gravity Forms entry at the end of the description, which makes it easy to jump from the issue to the original submission.

Priority, assignee and more issue fields

Redmine identifies most things by a numeric id, and the optional fields follow that. Set a Priority ID (for example 4 for High), an Assignee user ID to assign the issue to a Redmine user, a Category ID, or a Parent issue ID to file the new issue as a subtask. Each one is optional, each accepts merge tags, and a blank or non-numeric value is simply left out so Redmine uses its own default.

Custom fields

If your Redmine issues use custom fields, map them in the Custom fields box. Put one per line as id: value, where the id is the numeric custom-field id in Redmine and the value may contain merge tags, for example 5: {Department:7}. The add-on sends only the lines that have a value, so an empty answer leaves the custom field untouched.

Log a time entry

Turn on Log time to record a time entry on the new issue. Set Hours to a number such as 1.5, or to an H:MM value such as 0:30; merge tags work here too, so the hours can come from a field. An Activity ID chooses the time-tracking activity, and a Time comment adds a note to the entry. Nothing is logged when the hours are empty or zero, and if the time entry ever fails it is reported on its own and never undoes the issue that was just created.

A condition

Under the feed you can add a condition with Gravity Forms conditional logic, so the issue is only created when an answer matches — for example only when Priority is Urgent, or only when a checkbox is ticked. A submission that does not meet the condition is saved as usual but creates no issue.

The form your visitors see

Nothing changes for the visitor. They fill in and submit your normal Gravity Form and see your normal confirmation; the Redmine issue is created quietly on the server. Below is a simple support form whose answers map onto an issue.

A front-end Gravity Form, a support request with name, email, subject, priority and a description, that will become a Redmine issue on submit
A normal Gravity Form; the Redmine issue is created on the server after submit.

What happens on submit, and the entry note

When the form is submitted and the feed condition is met, the add-on builds the issue from your mapping and sends it to Redmine. On success it keeps the issue link on the entry and adds a note such as “Redmine: issue #1234 created” with the link; if you enabled a time entry, a second note records the hours logged. If Redmine cannot be reached or rejects the request, the submission is still saved and the add-on writes a clear note explaining what went wrong — with the key removed — so a visitor is never blocked and you always have a record.

A Gravity Forms entry screen showing the note that a Redmine issue was created, with the link to the issue
The entry keeps a note with the issue number and a link straight to Redmine.

Security and privacy

The API key is encrypted before it is stored, is shown masked afterwards, and is never written to an entry, a note or a log. Requests go only to the Redmine address you set; the connection is https only, redirects are not followed so the key cannot be bounced to another host, and the add-on contacts no other service. Private and local addresses are refused by default to stop requests being aimed at your internal network. If your Redmine genuinely runs inside your own network, a developer can allow that specific host with the gfrm_allow_private_hosts filter. Uninstalling the add-on removes the options it stored, including the encrypted key.

Troubleshooting

  • “Unauthorized” or a 401 note. The API key is wrong or REST is off. Re-copy the key from My account and confirm Enable REST web service is ticked in Administration → Settings → API.
  • “Project not found” or a 404. The project identifier or id is wrong, or your key’s user is not a member of that project. Use the identifier from the project address, and check the user’s role.
  • “Subject cannot be blank” or a 422. Redmine rejected a value. A 422 usually means a required field for that tracker is missing, or a tracker, priority or custom-field id does not exist — check the numeric ids.
  • The time entry did not appear. Confirm the hours are above zero and that time logging is allowed for the project and the key’s user. A failed time entry leaves its own note and never affects the issue.
  • “Private or local network” for an internal Redmine. Ask a developer to add the gfrm_allow_private_hosts filter for your Redmine host.

With REST enabled, a valid key and a feed in place, every submission becomes a Redmine issue you can triage, assign and track — no copying, no manual entry, and no outside service beyond your own Redmine.

Still need help?

Our support team answers tickets every day, usually within a few hours.

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