Forums

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

Make custom field mandatory when resolving an issue using a specific resolution.

Hernan Mathias Farina Forster July 1, 2025

Hi,

I would like to make a custom field called "Number" required whenever a specific resolution (e.g.: Done) is selected.

For instance, I am resolving an issue with the resolution "Done" and the user has not entered any value in the custom field "Number" of the Resolve Issue Screen then an error message should pop up saying something like: "Number field is required when resolving with resolution Done".

FYI, I can also write Groovy or SIL Simplfied code if necessary for this task.

Thank you!

3 answers

3 votes
Aaron Pavez _ServiceRocket_
Community Champion
July 1, 2025

Hi @Hernan Mathias Farina Forster 

A simple validator in the transition will do here:

https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-validators-for-company-managed-projects/

If you have JMWE, the better. With it, you can set the validator in the status with jira expression.

regards

1 vote
Cristiano Alves -Appfire-
Contributor
July 3, 2025

Hello @Hernan Mathias Farina Forster ,

I'm Cristiano, with the Appfire team.

If you would be interested in a more dynamic and with more functions for validators, our extension Jira Misc Workflows Extension or just JMWE, will help you greatly,

Besides the usual "field must be filled" option, you're also able to set up as to reject certain results, or compare to another field to check if valid.

Here is an image on how you could set it up using our appimage.png

If you have any doubt on how to set this up, feel free to contact our support team. we'll happily help you with that.

Regards,

0 votes
Izabela França
Community Champion
July 1, 2025

Hello, @Hernan Mathias Farina Forster ! 

In addition to what Aaron said, here are the steps to add a validator to a transition:

1. Edit your workflow

2. Choose the transition you would like to add your validator

validator1.png

3. Add a validator

4. Select the "Field Required Validator and choose the field you would to validate

validator2.png

validator3.png

5. Save your draft and that's it :)

Suggest an answer

Log in or Sign up to answer