When I create task, I get an error that the field is blank, but this field not found on this screen.
What to do?
Once you set the field to be required then jira would required this field to be filled on any transition in the workflow. Putting this field up only on one screen makes it invisible to the user on the rest of the screens yet it is still required to have any value. So the problem is, as a user you can't set the value on the invisible field :)
The best way is to use a FieldsRequired validator from Jira Suite Utilites plug-in. Set the field to be non-required gobally, and o the particular screen when you want it to be visible, enable the field and set the validator to require this field only in this transition.
Validators can be set when you go to workflow, edit it, click on the particular transition, click validators, click "Add" and choose FieldsRequired. Remember to publish the worflow draft afterwards! :)
If anybody's answer helped you to solve your problem, please be sure to click "accept" button on the particualr answer :)
I already tried to use Jira Suite Utilites plug-in. And I create new workflow, edit "resolve" transition - added validator. This is worked fine. But i can not made this changes in default workflow and made Draft for default workflow.
I should change workflow schemas for all projects? (more 30 projects)
Or I can add custom workflow to Default Workflow Scheme?
Thanks for the answer anyway! :)
The field required validator from JIRA Suite Utilities would help you to achieve the first option. It would check the validation during the workflow transition.
As for second option, you either need to add the field to the screen when you create it or go to the screen option in JIRA administration then add it manually.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot