I've a custom field that should be required, if the reporter in usergroup "AT_CPBS-Kunden(Alle)", but it should be mandatory for all other users.
I want to make this in JIRA Workflow with the validator "Fields Required Validator (JMWE app)"
regards
Josef
Thanks so much, It works ;-)
Do you also have an idea, how I can "hide or show" one field at issue create, if the currentUser is group XY? is this possible?
regards
Josef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That can only be done with ScriptRunner and its Behaviors feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Josef Sigl
your question wasn't entirely clear, you wrote that the custom field that should be required, if the reporter in usergroup "AT_CPBS-Kunden(Alle)", but it should be mandatory for all other users. It sounds like it is mandatory for all users. Did you mean that it should be mandatory only for members of the group, or for all users except members of the group?
If the former, then the conditional validation script should be:
currentUser.isInGroup("AT_CPBS-Kunden(Alle)")
Otherwise, it should be:
! currentUser.isInGroup("AT_CPBS-Kunden(Alle)")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.