Where should I attach or edit a global CSS stylesheet in my Jira environment?

I need to attach a custom css stylesheet to my jira environment. I have the stylesheet ready to go. How do I add it to Jira so that it gets applied globally across all projects?

Or, alternatively, is there a field in Jira where I can add my custom CSS styles so that they will in turn get embedded into the existing global css stylesheet?

1 answer

1 accepted

0 votes
Accepted answer
Sean Curtis Atlassian Team Apr 03, 2013

Many people utilise the Announcement Banner for this but the cleaner option is to create a simple plugin which includes the CSS file for atl.general and atl.admin contexts.

Check out:

https://developer.atlassian.com/display/JIRADEV/JIRA+Plugin+Guide

and

https://developer.atlassian.com/display/DOCS/atlas-create-jira-plugin

Thanks for the answer Sean. We've been using the announcement banner for this sort of custom code in the past and just thought there may be a more appropriate place for adding benign css code.

We have has issues in the past with adding malformed code to the banner where it basically breaks the site and we have to go into the database to clear it out.

For the Jira Dev Team:

It would be nice to have a hook into a custom css (loaded into the head) and custom .js (loaded into the footer) that we could use with confidence that it would not require a database edit if things go wrong.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Featured Groups

Want to know how Atlassians monitor their enterprise deployments?

At Atlassian, we believe in our own products – that's why we use them, even at the enterprise level. Doing so gives us first-hand experience of how they perform at scale; to do this, we monitor each ...

74 views 2 7
View post

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