Hello,
Iam using User Picker (multiple user) filed and I want to make validation that the user is selection two users not only one user ?
I have script runner and magic box plugin
Hello @Mohamed Saad Taha,
I am part of the support team of Decadis and I would like to propose a solution using our app Jira Workflow Toolbox.
By using the Logical validator in combination with the numberOfSelectedItems() parser function it would be possible to block a transition if the number of selected users in a User Picker (multiple users) is different from two with the following expression.
numberOfSelectedItems(%{issue.cfnnnnn}) = 2
Please, replace “nnnnn” in the above expression with the ID of the custom field if needed when testing.
If you need more information about this or other implementations, please, do not hesitate to contact us in this thread or via our Support Service Desk or visit our documentation.
Best regards,
Vicente
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.