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.
@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
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.
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.