commenting issues through emails

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
Accepted answer

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.

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.

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

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

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

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

Look at my comment above.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

62 views 4 0
View post

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