Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify the CSS file of a jira instance and revert back to the default ?

Kou Ssi
Contributor
June 17, 2023 edited

I accidentally removed a div element while modifying the Announcement Bar in JIRA this lead to the page going entirely Blanc i couldn't do anything how can i fix such issue ?

1 answer

1 accepted

2 votes
Answer accepted
Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2023

Hello @Kou Ssi 

 

You can reset it by going through the DB. Here is the knowledge base article

Kou Ssi
Contributor
June 17, 2023 edited

Thanks for replying @Tim Perrault 

when i was messing with the code after inspecting it i deleted the body so everything is blanc should i follow same article to reset it ? are the changes applicable if i modified the CSS File via inspect element ! sorry i am newbie at Web Dev i don't know much 

Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2023

The steps in the article will completely reset the announcement banner. Were you adding code there or are you messing with the actual files on the server?

Like • Kou Ssi likes this
Kou Ssi
Contributor
June 17, 2023

@Tim Perrault when the page went blanc i did a right click then inspect elements and I deleted the body from the HTML code but I think this is just temporary 

Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2023

Oh ok good. So the good news you didn't mess with any files. To get everything working again your going to have get that bad code out of the announcement banner. Using the article and going through the DB will take everything out of the announcement banner section and jira will show everything again. I'm not sure if there is another way to go about it, but that entry lives in the DB now and will show blank pages as long as it is in there. 

Like • Kou Ssi likes this
Kou Ssi
Contributor
June 17, 2023

That worked perfectly and everything went to it's place ... Thank you a lot @Tim Perrault for your well-structured / detailed answer 

Like • Tim Perrault likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events