Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Validate Jira Forms During Submission?

David Hauser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 28, 2025

Hi everyone,

We're using Jira Forms for internal requests like project setups and other submissions. While we've recently discovered that text fields support regex validation during form filling, which is great we've noticed that file fields lack similar real-time validation.

In many modern web applications, it's common to restrict file uploads by type or size, providing immediate feedback to users. Unfortunately, Jira Forms doesn't currently offer this functionality. This often leads to users submitting incorrect file types, resulting in additional follow-ups and delays.

We're aware of third-party solutions like Smart Forms that offer advanced validation features. However, with around 150 Jira users in our organization, the cost becomes a significant factor, especially when only a subset actively uses these forms.

Our questions:

  1. Is there a way to implement file validation (during the fillout process) in Jira Forms without relying on third-party apps?

  2. Are there any plans to introduce native (file) validation features in future Jira updates?

Any insights or suggestions would be greatly appreciated!

Best regards,
David

2 answers

2 votes
Piyush Annadate _ACE Pune_
Community Champion
April 28, 2025

Hello @David Hauser ,
Welcome to the Community !

During form input process, other possibilities aren't available without the 3rd party plugin.
Anyhow, you may create an jira automation, which be  issue created + conditions  - checks for the attachments details and revert back to user/reporter to update the correct attachments (a comment to the ticket for reporter and moving the status of ticket to 'waiting for customer'. Screenshot 2025-04-28 at 5.50.39 PM.png

{{attachment.mimeType}} -> Return the type of attachment ex image/png || {{attachment.filename}} -> Filename.<extension>

Refer- automation attachment smart values

0 votes
Olha Yevdokymova_SaaSJet
Atlassian Partner
April 30, 2025

Hi @David Hauser 👋

You bring up a really valid point — the lack of real-time file validation in native Jira Forms can definitely lead to friction, especially when incorrect uploads cause delays and follow-up work.

While Jira Forms currently doesn’t support client-side validation for file types or size during form filling, you’re right that third-party tools like Smart Forms for Jira do offer this — including regex-based file validation for attachment fields. For example, you can restrict uploads to only PDF files using a simple pattern like:
/\.pdf$/i

It also lets you:

  • Display a custom error message if the file type doesn't match

  • Combine regex with other field validations (like required fields or max length)

  • Share forms publicly or internally, and still maintain control over what's submitted

I totally get the concern about adding a third-party app when only a subset of users are using the feature. One thing to note is that Smart Forms can be used within Jira Software or JSM, so you can avoid paying for additional JSM agent licenses just to collect structured requests. External users or non-licensed team members can fill out forms via public links — and their submissions can still create issues or update tickets in Jira.

This setup often helps larger orgs keep licensing under control by removing the need to give someone agent access just to handle form intake.

If native support for file validation is something you're hoping for, I’d definitely recommend submitting or voting on the corresponding Atlassian feature request. Meanwhile, regex validation via Smart Forms could be a very practical workaround if you need more control today.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events