Required fields issue creation screen vs required fields in transition screens - any difference ?

Hi,

I have finished a workflow.

I declared a certain number of fields, of which some are required, others optionals. Then, I made required certain fields only contained on my transition screens. When I returned on my issue screen creation and I filled all the obligatory fields, JIRA shows me an error message to indicate that I had not filled such or such required field (wrting about fields nly contained in my transition screens). Have you ever met this problem ?

Perhaps I did not understand how field configuration works int JIRA ? Then, is it necessary to create a script to check all required fields of my screens transition, without declaring them as being required in the confguration field ? (as required fields of issue creation screen).

Sorry for my english.

Best regards,

Christophe

1 answer

1 accepted

8 votes

Jira does not do mandatory fields on screens.

The field configuration tells it what fields are mandatory on the whole life of an issue. So if a field is mandatory, it's mandatory on create, edit, every transition and so-on. It does not care if the issue is not on a screen, if it's mandatory, it's mandatory.

There is, of course, a work-around. Make the fields optional, and then you can add "validators" to your workflow, that say "field X must be filled in to proceed with this transition". That will not stop people blanking out data in "edit", but it will stop them doing things like resolving incidents without filling in the "root cause" field.

You'll need a plugin to provide that validation, but there are several that provide it for free - I usually stick to the Jira Suite Utilities.

Thanks man helped me big tym

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,968 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot