Custom field show up if a specific option was chosen in a selct field - how to?

Hi All,

we'd configure a special screen: when the user chose a special option in a select list then aanother custom field will show up. The cascading select list would be good but the new custom field must be free text field. It would be like the Other option in some cases: when you choose the Other then a free text field shows up. This is what we need.

Dou you have any suggestion?

Thanks in advance,

1 answer

1 accepted

try this script

<script type="text/javascript">  
jQuery(document).ready(function($) {
	JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {				
function showHideFieldFunction(){
			$('#customfield_10933').change(function() {		

function showHideField(){
	var selectListSelectedValue=$("#customfield_10933 option:selected").text();
	if(selectListSelectedValue == 'Yes'){
	//Text area field



many thanks for the help!

+1 question: where do we put this script?


you have to add it in text field description on field configutaion scheme

another way is you can load it as webreource module in plugin

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

168 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you