Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,989
Community Members
 
Community Events
168
Community Groups

how do we remove days with no incident from the past incidents

Hi All,

I wanted to check with the community if there is a way we could remove the days where we had no Incidents from the past Incident page on the status page ? 

I tried using the code  .no-incidents{display:none;}  however it still shows up some of the days where we had no incidents reported.

1 answer

0 votes
Alan Violada Atlassian Team Sep 22, 2022

Hey there, thanks for reaching out to us with this issue! While not an officially supported functionality, the code you mentioned:

.no-incidents {
display:none;
}

does seem to work and do the trick for hiding all days with no incidents on our end, after some testing. Could you provide an example of a page, or some screenshots, where this attribute was applied in the Custom CSS but did not work so that I may take a look?

 

Regards,

Alan

Hi Alan,

 

Thank you for coming back to me , with the code mentioned somehow i am able to get the weekends removed from the list of the past incidents where there were no Incidents reported however issue is with the weekdays . Please send the screenshot of the code and my currents status page in the attachment . your help on this will be highly appreciated.

 

Kind Regards,

Aditya Bansal

 Code.PNGstatus page.PNG

Alan Violada Atlassian Team Sep 23, 2022

Hey Aditya, thanks for the reply and the info! That is indeed some weird behavior, one thing I would like to confirm, in the screenshot you sent me, the mentioned snippet of code is commented out(the /* before it) therefore it would not be executed. If you remove that, does the page still not properly display only days with incidents in the past incidents part?

 

Let me know, please so we can further investigate if needed.

 

Regards,

Alan

Hi Alan,

 

I changed it however there is no change in the output. please find teh new code picture attached.

 

New Code.PNG

 

Kind Regards,

Aditya Bansal

Alan Violada Atlassian Team Sep 23, 2022

Aditya, testing on my end it seems to consistently work, so I'm thinking some of the other custom CSS you have applied to your page might be affecting this. Could you try removing the rest of the CSS code, and only using the below snippet, and see if that works? If you want to provide a link to your page, I could take a better look as well.

.no-incidents {
display:none;
}

 

Regards,

Alan

Hi Alan,

 

I tried removing it and just entering the no Incident bit however with that approach , it does not seems to be working. Could you please help if there is any other code that might help with it.

 

Kind Regards,

Aditya Bansal

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events