Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to create custom depended fields like category and sub category

veerabhaskar
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!
March 20, 2024

Hi Team,

I have two fields category and sub category 
on the basis of category field ,sub category field should be selected

Category field have choices :P1,P2
Sub category field choices : C1,C2, C3,C4
                                           

If I select category choice  as P1 then C1,C2 Subcategory choice  only will visible.

If I select category choice  as P2 then C3,C4 Subcategory choice only will visible.

Thanks
veera

1 answer

1 vote
Kate Pawlak _Appsvio_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 20, 2024

Hi @veerabhaskar,

If you have a such simple structure, would you consider using cascading custom field? It allows you to create a two level cascading structure.

P1

-->C1

-->C2

P2

-->C3

-->C4

veerabhaskar
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!
March 20, 2024

Hi @Kate Pawlak _Appsvio_ ,

Thanks for quick response.

Cascading custom field is good choice but issue is when we make that field as required then without selecting sub category choice (C1,C2...) we can able to submit form.
so, I want both should be required  in single Cascading custom field then only we have to submit form.
For that do we have any solution....

Thanks
veera

Kate Pawlak _Appsvio_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 20, 2024

Thank you for clarification. You're right, this is how it works in Jira.

You can try to use Forms. But it's necessary to split your second custom field (with Cx) to two. So you will be able to create the first section with first custom field - category Px. Depending on selection, you will present different custom field: one with C1, C2 or second with C3, C4. But it's difficult to scale.

Another option which I can propose is using our app Multilevel Select for Jira which allows you to create multistructure. In the configuration, you can define that all levels must be selected (not only the first one).

Suggest an answer

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

Atlassian Community Events