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.
Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!
Help us plant more trees
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.