regards
Josef
Hi @Josef Sigl
using JMWE, you can create a Scripted (Groovy) Validator with a script like:
issue.get("my checkbox custom field name or ID")?.size() == 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello David, i've done as you told, but it does'nt work. I get an error message - please look at the screenshots
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.
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
I'm glad it worked.
Can you please "Accept" the answer so that others can benefit from it?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello David, unfortunately it doesn't work perfectly ;-/
This error message should only appear, if someone enters 2 values. If someone enters only 1 value or no value, there should be no error message.
Do you have an idea how I can solve this?
regards
Josef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello David, I've already found the solution.
issue.get("customfield_10375")?.size() <= 1
It works ;-)
regards
Josef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
If you only want 1 selection to be possible, why not use Radio button type control?
Jeroen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jeroen,
the field exists for a long time and I don't want to create a new one, because all queries inklude this field would no longer work.
So I'd like to regulate this with an Validator-check
Regards
Josef
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.