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

Conditional Drop Down

Stewart StJames
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 4, 2024

What I am looking for a way to do is a custom field that is a drop down and based on what is selected in that drop down another drop down appears with pre defined options.

 

Example: Drop Down one has department codes, and lets say I click a department code for HR. I want a second drop down to appear that has (lets say OS Options like Linux and Windows) but lets say I pick programing as the department I want the dropdown to only give the option of Unix. 

 

Is there a way to do this kind of conditional formating in Jira Service Management Tickets? I have about 100 Different Departments that need different options based on What is selected in the ticket. 

2 answers

1 vote
Fernando Eugênio da Silva
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 4, 2024

@Stewart StJames , Welcome to the Atlassian Community!

You can do this in one of two ways:

You can use a cascade field, where you can create a dependency on Parent option and child options. So for a main selection, you would have other subsequent options.

Another way to approach this solution is using a structure in Assets, where you can create your departments, associate OS with departments and manipulate this data through Jira fields and using AQL. This will also allow you to have a relationship of dependence from one to the other.

The cascade field can create dependency on only two levels (Parent and Child)

In Assets you can say that other things depend on your 'Department' field, for example, you just need to familiarize yourself a little with how to manage a structure in Assets and its AQLs in Jira fields.

You can know more about Assets here: Asset management & configuration management Jira |​ Assets (atlassian.com)

Hope this helps you

0 votes
Joseph Chung Yin
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 4, 2024

@Stewart StJames -

Welcome to the community.  In addition to what @Fernando Eugênio da Silva suggested, you will need to use a third party add-on to accomplish what you need to do control a dropdown list options based on another dropdown custom field.  

Take a look at this add-on "Scriptrunner for Jira"'s Behavior component -

https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?tab=overview&hosting=cloud

https://marketplace.atlassian.com/apps/1228522/behaviours-scriptrunner-for-jira-cloud?hosting=cloud&tab=overview  (NOTE - this separate add-on requires Scriptrunner for Jira to be installed first)

Hope this helps. Unfortunately, it is not something available out of the box.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

 

Suggest an answer

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

Atlassian Community Events