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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

40 views 3 1
Join discussion

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