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.
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.
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...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG