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

commenting issues through emails

Marko Žmak - Žmale Nov 02, 2012

When somebody replies to a notification mail that was generated by assigning him an issue, this reply gets added to that issue as a comment. That's OK, we want that to happen.

But the problem is that the whole reply is included in this comment, even the quoted part with the text that is already in the issue description.

How can we avoid that and setup that only what a user writes in reply email is entered as a comment?

P.S. Many other systems have such a feature enabled, they put a line in the email with some identifier and saying reply above this line.

2 answers

1 accepted

2 votes
Answer accepted
Andy Brook (DEV) Nov 03, 2012

Have you enabled 'stripQuotes' as referred:

https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email

Earlier questions:

https://answers.atlassian.com/questions/40872/jira-create-or-comment-issue-handler-with-regex-filter-on-the-reply-forward-message-operation

If that doesn't work there is the Regexp Comment Handler

https://answers.atlassian.com/questions/54911/jira-comments-from-email

And failing all that, there is also JEMH that can does the body delimitig as well.

Marko Žmak - Žmale Nov 03, 2012

Yes strip quotes is enabled, but the problem is that not all mail clients put quotation in the email reply.

The soultion I found that works is:

  • edit global configuration so that sent notification emails have something "strong" and parsable in the line before the quote. For example "On 04.12.201. (JIRA-NOTIFICATION) wrote:"
  • in mail handler configuration add handler "Add a comment before a specified marker or separator in the email body" and setup the apropriate regex
  • and just for safety, leave turned on the default mail handler in case the regex one misses something. But make sure that the default handler comes last in the list of mail handlers

So this is exactly like in the link you suggested:

https://answers.atlassian.com/questions/54911/jira-comments-from-email

Thx.

Jeff Fairchild Nov 04, 2012

Adding a comment to an existing issue via email doesn't work on OnDemand:

https://jira.atlassian.com/browse/JRA-30293

Marko Žmak - Žmale Nov 04, 2012

@Jeff: for me it does. checked and verified, it works.

0 votes
Kenric Nov 07, 2012

I already have stripe quotes turned on, but I the users that have iphone are still posting the entire original content of the jira ticket,

what command handler can be used to fix this?

thanks

Marko Žmak - Žmale Nov 07, 2012

Look at my comment above.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

Disney Live Action Reboots: Are you for or against?

Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...

118 views 19 6
Join discussion

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