So basically i haven't found a single Code that worked for me so i'm asking myself.
I have a checkbox wih 2 opions:
"done" and "not required"
i want that i can only submit the card, when i check one of the boxes.
Those are the Validators i can use, does anyone have the Code that works for my Problem?
I don't have any Plugins.
You can use scriptrunner's Simple Script validator
cfValues["Kick-Off with GD"] != null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Derek Fields _RightStar_ Thanks for the code but even after i have checked the box the issue is not transitioning to done, it is still looking for the value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the code for your validator? Can you provide me with more information?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cfValues["Log Work"] != null. I am trying to make Log Work (ictime) field as required which is a checkbox custom field when moving issues from IN progress to Done. Everything seems to be working fine but after checking the Log work checkbox and entering time spent on the ticket i cannot transition the issue to done it is still looking for the Log work value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i need to submit the issue when all check boxes are checked. other wise we can't abled to close the issue.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can still use the simple script validator. If you know the specific number of options, then you use this (this assumes that there are 4 options in the Checkbox LIst):
cfValues["My Checkbox List"].size() == 4
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.
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.