I want to change the default text type when a user adds heading text into the Description field in a JIRA issue. Right now, for example, you type "h3. Summary" and you get the default heading style - Black, bold.
I know from working in prior companies' instances that one can change the default for "hn." headings but can't figure out WHERE.
Hey Alice,
There's a few options, but the most straight forward for a small change like this would be to inject some CSS in to the Announcement Banner (available at /secure/admin/EditAnnouncementBanner!default.jspa )
The below code works in my testing (Jira server), usual disclaimer about testing in a non-production environment first and no guarantees.
As soon as there's any content in the announcement banner (even if it shouldn't render), Jira will insert a space for it between the top menu and the main body content, so the .alertHeader display: none hides that. If you do want to then show an announcement, you'll need to commend this line out.
The description-val h3 should then target the color change just to the issue description area. Adjust the hex color code to suit, you can also add other h# values as needed.
<style>
.alertHeader { display: none; }
#description-val h3 { color: #ff0000; }
</style>
CCM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.