i want to make a field "x" mandatory in the resolve screen. i dont want to use field validator in workflow. is there any other workaround to do that?
Hi @k-p
You will need to use a validator in the WF, if you want to set a customfield required it will require an app such as Jira Suite Utilities or Scriptrunner or another one available on the marketplace.
Using scriptrunner you can use behaviour to set field require during a transition but it only set it required when the user is using JIRA UI not REST API for instance.
Regards
Thanks for response @Florian Bonniec . cant i do without it?
problem is - whenever i want to make my field "required" in a specific screen (resolve screen) then its becoming required in create screen also.
.
Workflows are based on transitions - you're setting a mandatory field for a specific transition and that transition only.
If you're seeing a mandatory field on Create, then it has nothing to do with your resolve screen, that's something else you're doing.
As a hint - resolution is always mandatory wherever you add it. So if that's your field, don't add it to project screens, only add it to the transition screen (must be a different screen than the one you use for create/edit/view). I think you might not even need a validator for it in that case.
It looks like you're new here. Sign in or register to get started.