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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

236 views 1 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