Forums

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

Viewing Custom Fields based on a selection from a dropdown list of another field

Hasan AbuSaleh (MiddleEast) November 22, 2022

Hello Amazing Jira Community,

 

We have a lot of Custom Issue types and we wanted to reduce the number by clubbing them into generic issue types.

 

The problem here that i had before a list of custom fields related to each issue type which is different from the other fields of the other issue type, let me share an example below:

 

Custom Issue type 1: Flight Booking

Custom Fields: Traveller Name, Flight time, From, To

 

Custom Issue type 2: Hotel Booking

Custom Fields: Hotel Name, Number of nights, Breakfast Included

 

If want to create a generic custom issue type called "Logistics", then add a drop down list called "Request type" and in that dropdown two options (Flight Booking, and Hotel Booking) 

 

The question is, if i selected Flight booking would i be able to see only the custom fields related to this request type (E.g. Traveller Name, Flight time, From, To) and when i select from the dropdown list the Hotel Booking then i will see only the custom fields related to this request (E.g. Hotel Name, Number of nights, Breakfast Included) ?

 

If this is doable then this will save our life, otherwise i might end up creating more than 70 issue types with its related custom fields :(

 

Please help!

 

2 answers

0 votes
Hamza Chundrigar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 22, 2022

Hi Hasan,

With out-of-the-box Jira (Software), I don't think there's an option to use custom dynamic fields that would show up for user input depending on user selection. That's why I don't think a cascading select custom field might satisfy your use case as it seems that the user will need to input data for fields like "Traveller name", "Flight Time", "To" and "From" — correct? Not to mention, with a cascading select custom field, you are only able to choose a single option on both cascading levels. Perhaps a 3rd party add-on might address this need.

I understand that you're likely looking to use Jira Software (as opposed to JSM). But when you look at Jira Service Management - Forms for Jira allows you to do dynamic logic as part of its form builder functionality to better structure your data in forms. You can dynamically show or hide questions in form sections depending on a user's response to a previous question on the form. 

 

Best regards,
Hamza

Hasan AbuSaleh (MiddleEast) November 22, 2022

Thanks a lot Hamza for your answer.

 

I agree with you, i will explore JSM.

Any idea of available 3rd party add on that might resolve my issue?

 

Appreciated!

Hasan

Hamza Chundrigar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 22, 2022

There may be more apps on the Atlassian Marketplace if you run a quick search, but here's one that I was able to find that seems to satisfy your requirements: Dynamic Custom Fields for Jira

I hope that helps :)

 

Best regards,
Hamza

0 votes
Jack Brickey
Community Champion
November 22, 2022

Hi Hassan, in this case, I might suggest leveraging a new cascading select custom field. By doing that, the user will select the primary level one value which will then present the appropriate list for the secondary level field. is this a feasible option for you? The biggest challenge you're going to face and trying to consolidate your issue types in this case is how to get the old data into the new fields. my first suggestion would be to use the export and import feature. This will of course, require some tedious work and getting your import template laid out correctly.  I hope this all makes sense.

Hasan AbuSaleh (MiddleEast) November 22, 2022

Thanks a lot Jack for your answer

Suggest an answer

Log in or Sign up to answer