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

Accepted Answer
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 Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

461 views 7 5
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