Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Can I have one custom field that display some values based on value of another custom field.

Brian Kelly April 26, 2018

As I say in title of this question I want to have in Jira one custom field that display some values based on value of another custom field.

For example, I have one Custom Field 1 with values '1' and '2' and another Custom Field 2 with values 'A','B','C' and 'D'. 
I want that if user select '1' in Custom Field 1, then display only values 'A' and 'B' on Custom Field 2, and if user select '2' then display only values 'C' and 'D'.

Cascading fields dont work because sometimes I need a text box to pop up and other times I need another drop down menu to pop up and that menu has to have a name 

Thanks in advance,

Brian

1 answer

1 accepted

1 vote
Answer accepted
Ryan Kearney
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.
April 26, 2018

Hi Brian, you can do this with Scriptrunner for Jira using Scripted Fields.

https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/cloud/overview

This might also be possible with this free app, but it will have less support of course. https://marketplace.atlassian.com/plugins/com.innovalog.jmcf.jira-misc-custom-fields/server/overview

Brian Kelly April 26, 2018

I may have used the wrong term. I am looking for this in JIRA service desk, is this still the correct link? 

Ryan Kearney
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.
April 26, 2018

Yeah, I think either one should work with Jira Service Desk. Do you have access to a dev or staging environment so that you can play around with these tools? If not, you can set up a local instance of Jira using Docker, then install JSD once base Jira has been installed:

1. Download & install Docker https://docs.docker.com/docker-for-mac/install/

2. (IN TERMINAL) docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latest

3. (IN BROWSER) http://localhost:8080/

 

It is better to do this type of work outside of the production environment. Let me know if you have any questions. 

Brian Kelly April 27, 2018

Thank you for your help so far! I am new to JIRA and trying to learn as much as a can. If I buy the script runner license will I need to buy that add on for all my users to see the dependent fields I create? Have to go to the boss and get approval to spend the funds 

Ryan Kearney
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.
April 27, 2018

Hi Brian, I'm envious! JIRA can be so exciting to learn with all the customization and automation that is possible. So, for add-ons, you will need to purchase the license tier that matches your JIRA license tier. For instance, if you have a 200 user license for JIRA, you will need to purchase the 200 user license tier of the add-on. If you have any questions about the script you will need to write, post another question on Community or search for old questions! There will be help. And of course, the script runner support team is available too. 

Suggest an answer

Log in or Sign up to answer