Forums

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

email formating HTML_why email text contains EXTRA LINES (ENTERS) after txt color changed?

Mateusz Janus
Contributor
February 26, 2026

Brother and Sisters

I would never expect that I will fight with HTML...

I just want to change some WORDS in email using differente colors. But somehow in the original email when I have a colored WORD there are line breaks. Below exact email body I put into automation. HOW that line breaks appears???

email in jira.jpg

-------------Email Body ---------

You added new STORY to your EPIC - {{EPICID}} using:
- EPIC view
-- "Issue Linked" field
--- "Is parent of" value
---- "STORY ID" value

Propper Parent/Child hierarchy is build using field<p style="color: green;"> "EPIC LINK" </p>which is displayed on STORY DETAILS screen.
- Open STORY
-- Find field "EPIC LINK"
--- Input EPIC ID
---- Save

<p style="color: red;">Next time please avoid using "Linked issue" attribute. </p>.Instead of its Open your STORY view screen and update field <p style="color: green;">"EPIC LINK". </p>For more details please contact mjanus@

-------------Email Body -----------

1 answer

1 accepted

3 votes
Answer accepted
Shashank Dubey
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 Champions.
February 26, 2026

Hi @Mateusz Janus , here is your fixed version of your Email body.

 

You added new STORY to your EPIC - {{EPICID}} using:

- EPIC view

-- "Issue Linked" field

--- "Is parent of" value

---- "STORY ID" value

 

Proper Parent/Child hierarchy is built using field 

<span style="color: green;">"EPIC LINK"</span> 

which is displayed on STORY DETAILS screen.

 

- Open STORY

-- Find field "EPIC LINK"

--- Input EPIC ID

---- Save

 

<span style="color: red;">Next time please avoid using "Linked issue" attribute.</span> 

Instead open your STORY view screen and update field 

<span style="color: green;">"EPIC LINK"</span>.

 

For more details please contact mjanus@

 

Simple Rule for Jira Automation Emails
If you want to Use
Color full paragraph
<p>
Color single word in sentence
<span> 
Bold text
<strong>
Italic
<em>

I hope this will help you out.

Mateusz Janus
Contributor
February 26, 2026

@Shashank Dubey this is exactly what i expected... simple as that. SPAN... THANKY YOU!!! cause i was studing HTML for the last 3 hours trying to find the answer

Charlie Misonne
Community Champion
February 26, 2026

 

I would never expect that I will fight with HTML...

Isn't this exactly what HTML is about? 😃

 

Like # people like this
Arkadiusz Wroblewski
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 Champions.
February 26, 2026

@Charlie Misonne  Haha i like it, thats a good one :D

Suggest an answer

Log in or Sign up to answer