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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,416 views 17 10
Join discussion

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