JIRA 6 - Increase display width of field "Project" during issue creation

Peter Jahn November 25, 2013

Is it possible to increase the display widht of the field "Project" in the "Create Issue" screen in JIRA. Our project names are too long to be shown completely in the field with the default length.

5 answers

1 accepted

2 votes
Answer accepted
RambanamP
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 25, 2013

using javascript you can do it, check this post

https://answers.atlassian.com/questions/193234/increase-the-width-of-project-field

sample code

<script type="text/javascript">  
jQuery(document).ready(function($) {
	JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {				
				callFunction();
			});
			callFunction();
			
function callFunction(){
				$('#project-single-select').css('max-width','500px');
				$('#project-single-select').css('width','500px');
				$('#project-field').css('max-width','500px');
				$('#project-field').css('width','500px');
}

});
</script>

add the above script in announcement banner

Peter Jahn December 1, 2013

:) Thank you.

Neeta Dubey January 5, 2014

Thanks this helps in increasing the widht of project...how to increase width of issue type.

RambanamP
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.
January 5, 2014
0 votes
Lutz_Pliske November 20, 2019

Is there any chance that Atlassian is fixing this? I just took a look in the current server version and it still looks the same - without any reason since the drop-downs that are used some rows beneath this are also bigger.

Also - this script does not seem to work with the current version of JIRA :-(

0 votes
Pawel Bojkowski October 21, 2016

The result here in our cloud version is this...but why?

image2016-10-21 15:37:5.png

0 votes
Binisha April 7, 2016

........./secure/admin/EditAnnouncementBanner.jspa

0 votes
Vasily Filipenko December 15, 2015

>>add the above script in announcement banner

HI. Can any one tell me how to do it?

Suggest an answer

Log in or Sign up to answer