I have built a contact form on my website and I’m wondering if there’s a way to automatically generate Jira tickets when users submit the form.
Right now when someone fills out the contact form and clicks submit, I only send an email notification to our support team. But I want to also create a new issue in our Jira project at the same time.
Is this possible to do? I’m looking for a solution that can handle both actions - sending the email notification and creating the Jira ticket - when the form gets submitted. Has anyone done something similar before?
Any guidance on how to set this up would be really helpful. I’m not sure if I need to use Jira’s API or if there are other integration options available.
We hit this same issue six months ago. Ended up using a webhook approach that worked great. Instead of touching our existing form handler, we built a webhook endpoint that gets the form data and fires off both the email and Jira ticket at once. Best part? If one service craps out, the other keeps working. We used Jira’s issue creation API but wrapped it with retry logic - their servers timeout more than they should. Pro tip: validate your Jira project config first. Make sure all required custom fields are mapped or you’ll get error messages that make zero sense. Took us two days to build and test everything.
totally agree! zapier makes it super easy to link your form submissions to jira. just a quick webhook setup and you’re all set! using apis is cool too, but if u wanna keep it simple, zapier is the way to go. def saves a lot of hassle!
I did something similar last year with Jira’s REST API. Modified the form handler to make two calls - one for email, another to create the Jira issue. You’ll need an API token from your Jira settings and the /rest/api/2/issue endpoint. Biggest pain was mapping form fields to Jira’s required stuff like project key, issue type, and summary. Way more reliable than third-party tools since you control error handling and can customize exactly what form data goes where. Just handle auth properly and add error logging for when Jira’s down.