It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Email-Handler imports only first line

Achim Göttgens Dec 16, 2012


we have a Problem with the Email-Handler "Create a new issue or add a comment to an existing issue". If Jira receives a mail - a valid Issue-Id noticed in subject - wich is sent by the customers HP-QC instance, it is only the first line imported as a comment.

I've found two alternative Content-Types (text/html and text/plain) in the Email-Source. I tried other Handlers with no or same effect.

Any ideas?


Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Defect Benachrichtigung

_____ =20


Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><TABLE width =3D 100%><TR><TD><H2>Defect Benachr=

2 answers

1 accepted

1 vote
Answer accepted
Eddie Webb Dec 16, 2012

You say you are using the "Create a new issue or add a comment to an existing issue" handler, do you have the "strip quotes" checked?

Achim Göttgens Dec 17, 2012

Yes, "strip quotes" is enabled. My expectation is that only the lines that start with ">" are removed.
Is "_____ = 20" a termination criterion?

Eddie Webb Dec 17, 2012

Not the full line, but I think 4 or more hyphens or line-scores is seen as a new line.

You can try disabling that to verify, but you would get all previous comments in a thread. You can also choose "

Add a comment before a specified marker or separator in the email body

and define your own regexp for the seperation (but I am not sure this will create new issues), or you can create a custom "Client ALM Handler"

Achim Göttgens Dec 18, 2012

I've disabled "strip quotes" now and the Mailhandler is working now.

Thank you!

0 votes
Andy Brook (DEV) Dec 17, 2012

Im pretty sure you see this because _____ is listed in JIRA_INST/atlassian-jira/WEB-INF/classes/outlook-email.translations, which identifies a range of default 'included' message delimiters. The solution here would be not not add that to your email, if you remove it, what happens?

Achim Göttgens Dec 17, 2012

The email format is set by the customer. Would it be a solution to modify the translation?

Eddie Webb Dec 17, 2012

I would not modify except as a last resort, because you will need to repeat anytime you upgrade.

Andy Brook (DEV) Dec 17, 2012

? Just go and edit the file above, remove that line, should fix this for you (but obviously wont then match other email), if you need that for some email but not others, perhaps you need something more that the default handlers...

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,255 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you