How to Change the Assign/Comment Dialog Box Width in JIRA

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

The content on this page includes steps to customize or extend Atlassian software (adding/changing CSS rules, HTML, JavaScript, etc.). Per the Atlassian Support Offerings, support does not include customizations made to Atlassian products. Be aware that this material is provided for your information only and using it is done so at your risk.

If you have any questions about this or any customization, please ask the community at Atlassian Community or consider working with an Atlassian Solution Partner.

Users might find the original width of the Assign/Comment dialog too narrow and makes it hard to read or edit the comments

Solution

  • Go to JIRA Administrator > System > Announcement Banner

    (Auto-migrated image: description temporarily unavailable)
  • In the Announcement text box, paste the code below and click Set Banner. Please change the values of the width accordingly (the example shown below is 900 pixels wide, % width works as well).

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 <style> #assign-dialog /* The "id" of the "Assign" dialog box */ { width: 900px !important; } #comment-add-dialog /* The "id" of the "Add Comment" dialog box */ { width: 900px !important; } #edit-comment /* The "id" of the "Edit Comment" dialog box */ { width: 900px !important; } </style>
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.