Make field mandatory on transition

Is it possible to make fields mandatory on transition and add * in front of them ?

3 answers

@ILY

It is possible to make the fields mandatory on a Transition. This is native functionality, in Jira Cloud. You can use the Validators on the workflow Transition. 

In the Field Configuration, when you make a field mandatory, it will add a red * on the field, in the create and edit screens.

mandatory field..PNG

But as far as I know, it won't mark a mandatory field set on a Transition.  You just get an error stating that the field is mandatory when trying to transition the issue.

Yes Exactly i doesn't mark the field i just get an error 

Yes. The Jira Misc Workflow Extensions App has a validator that will check if fields are empty, changed, etc. It can't make the red asterisk, but provides the functionality you are after.

Hi ILY,

You can do this using the Power Scripts add-on, which can also do countless other things you will likely want to do with Jira. The only thing it won't do is add the * but you can have it give a custom error message.

Here is a video tutorial walking you through How to require attachments. 

Here is a page that has code for a number of different validators.

I hope this helps!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

688 views 6 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you