Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Custom Check Box Field as Required

Girish_Kulkarni May 13, 2020

Hello ,

I have created a custom field (Checkbox Multiple) for Implementation of DOD, i have marked the field as Required.

The field is added to a custom scree with Required Validation and used in a workflow.

While verification my observation is The Validation works only if NONE of the check boxes are selected / checked. If any one or two of the available check boxes are checked the validation passes through, where as i want the Required field should check for all the check boxes to be selected and not only few of them. 

Please help.

Thanks ,

Girish Kulkarni

1 answer

0 votes
John Funk
Community Champion
May 13, 2020

Hi Girish,

Am I right in understanding that when the card is created that you want ALL of the Boxes selected all the time?

If so, why don't you just put in a post function on create to select all of those values? If you are not going to give the user the choice of which ones on create, then pre-populate it for them on Create. 

Girish_Kulkarni May 13, 2020

Hi John,

Yes I want All the check boxes selected in the multi select field.

This is Pre Populated list used for "Definition of Done'.  This is checklist that I want user to go through and complete the verification points step by step. When all of them are implemented , User will be selected it and submit the story to completion.

Thanks

Girish KULKARNI

John Funk
Community Champion
May 13, 2020

So, can you just populate the field with all of the values with a Post Function at Create?

Girish_Kulkarni May 15, 2020

I think solution to the problem is either we have to see if this can be handled programmatically or we have to create same number of check box field same as that of verification points i.e one field for each verification point , and make all of them mandatory. 

John Funk
Community Champion
May 15, 2020

Again, why can't you just populate the field with all of the values with a post function at Create?

Girish_Kulkarni May 15, 2020

I am actually not getting your point.

I have already created a list value allowing multi select, My requirement is that field s/formb tobe submitted only if all values are selected by user.

When you say "post function" I am understanding that it validation to be done using a custom function of default feature "Required' is not working as expected.

I will have to study and find out how to achieve this.

Thanks...

Tom Clark
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 19, 2020

Hey John

I think Girish wants to use the checklist field to force the user to go through the steps before closing the issue, so making it mandatory and pre-populating with a post function won't work here.

I think a 'Validator' (or possibly a condition) might better suit the need, i.e. to prevent a status transition through a workflow, based on the completeness of this field - you can read more here Girish: https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html

Word of warning though, making users tick the boxes will not necessarily make them go through the thought process you are proscribing here Girish!

Good luck!

John Funk
Community Champion
May 19, 2020

My point was that if you are requiring the user to select every box in the checklist, why not mark it for them automatically as a byproduct of the transition. Why make them check off every box when you can automate that step and speed the process?

There there is no reason to validate it - it will always be selected. 

Tom Clark
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2020

I see that John

I guess the Q is for Girish to decide whether this is intended as:

  • a control (to get the user to declare the action against each step) or
  • a record (that the user has must have completed all actions by virtue of carrying out the transition)
Like # people like this
Girish_Kulkarni May 22, 2020

Hello Tom ,

 

Yes that's right , My requirement is that user should declare that action listed in each of the check box are completed.. and from business point of view the list of actions is mandatory to complete before processing to next step.

Thanks for understanding 

Girish Kulkarni

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events