Why, when I try to add my own HTML, it added more styles CSS?

For example:


I add:

<p>test text</p>


but eventually comes to the mailbox:

<p style="margin: 10px 0 0 0">test text</p>

2 answers

0 votes
Peter Bengov Community Champion Dec 01, 2014

Maybe there are styles you inherit from JIRA / Mail Handlers's templates.

You could try to override the styles with some !Important calls. Didn't test this myself, so not sure it will work.

I didn't find additional styles in JIRA templates

0 votes
Chris Fuller Atlassian Team Dec 01, 2014

The short answer is "Microsoft Outlook".

Not all mail clients support the use of Cascading Style Sheets.  Atlassian products use a library called BotoCSS (https://bitbucket.org/mryall/botocss) to inline the styles from .css into the HTML elements when rendering an email to make sure that even broken mail clients will be able to render them as closely as possible to how a web browser would, even the broken old ones like Outlook that don't handle .css correctly.

I can't find Botocss styles in my templates(

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,084 views 4 9
Read article

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