Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
4.2, 4.2.1, 4.2.2, 4.2.3, 4.2.4
-
4.02
-
Description
Symptoms
After upgrade your JIRA instance to version 4.2 or higher, some custom fields become truncated when viewing the selected options.
Cause
This occurs because after version 4.2, the CSS responsible for displaying the options of custom fields provides only a fixed width value (of 250px) to custom fields. Custom fields that ship with JIRA are fixed for this change, but custom fields from third party plugins may experience the issue.
Resolution
This is resolved in JRA-24112 and JRA-36062.
Workaround
This workaround involves customisations to JIRA which are not supported.
- On the filesystem, navigate to $JIRA_INSTALL/atlassian-jira/WEB-INF/classes/templates/plugins/field/edit/;
- Choose the custom field type you want to edit and backup the related file. (e.g. Single Select List: edit-select.vm);
- Find the select attribute line (e.g. <select class="select" name="$customField.id" id="$customField.id">) and add the parameter style="width:auto" inside it. (e.g. <select class="select" name="$customField.id" id="$customField.id" style="width:auto">);
- Save your modifications and restart JIRA. All of your custom fields of that type will then display with the customized CSS from step 3.
Attachments
Issue Links
- duplicates
-
JRASERVER-24112 Select and Multi Select Fields Width Don't Fit to Options Text Length on Create Issue Screen
- Closed
-
JRASERVER-24503 Custom fields not wide enough anymore with JIRA 4.2 on IE browser
- Closed
-
JRASERVER-23689 Dropdown list for Select List custom field does not show full string length in IE 7 and IE 8
- Closed
-
JRASERVER-36062 Select and Multi Select Fields Width Don't Fit to Options Text Length on Edit Issue and Transition Screens
- Closed