Hello ,,
When users reply to JIRA notification emails it will post as comment in JIRA issue.
WHen it is done,all email signatures,company logos and garbage will post with the email in comments.
Help me to remove all that garbage and just posting the comment with matter.
thanks
For the email signatures issue appearing in comments and descriptions, see if the workaround below works for you.
Disclaimer: Your code will look different than mine explained below and you may have different tags. For example, my signature is in a table and that allows me to use my solution successfully. You may need to edit yours to have a different custom tag/role that is sufficient in identifying the structure of your signature and not text that could show before it.
1.) Send yourself a test email with "test" as the body and then the signature below it.
2.) Right click "test" in the email you received from yourself and click "View Source."
3.) Scroll about halfway down in the HTML code until you find the "<p" tag with "test" inside of it.
4.) If you desire the signature afterwards to not be displayed, look after that section at what shows up (should be elements of your signature).
For example, after "test" in the email I sent myself, I see that it makes a table using the "<table" tab. In my Jira Issue, the signature shows up in a table as well. (This again is because my signature is a tabular format)
5.) Go back to your "Email Request" tab in your Jira project and click "Add a custom rule" (Settings --> Products --> Email requests --> Add a custom rule) .
6.) Add "<table" as your custom rule.
7.) Now, email a ticket into your Jira Project (submit a ticket with a body "test" and signature). The signature should show up in a collapsible box inside the Jira issue underneath "test."
If your signature starts with an image you may be able to use a custom tag of "<a" potentially.
I would recommend housing the signature in a table so it is all in one container and easy to apply the rule outlined above.
This feature for Cloud seems like it should be "table stakes" - parsing through comments with all the signature logos and garbage is time consuming and annoying.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using Jira Server or Jira Cloud? Depending on your platform will really determine what options you have to tackle this problem.
For Jira Server, I would recommend starting with this KB: How to Strip the Old Reply Data from Incoming Email When Using Outlook
However if you are using Jira Cloud, you cannot follow those steps. Instead for Cloud, it might help to use a 3rd party plugin such as the Jira Enterprise Mail Handler plugin. They appear to have documentation on how you can configure their plugin to do this in JEMH Documentation: Remove Signature Text and Images
You could probably also use this plugin method for Server as well since it appears this vendor does have a server version of this plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andy,
Has there anything new come up - built into Cloud - within the last 2.5 years?
We have a big table signature which would be great to get rid of.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Jira Cloud Service Desk, there have been changes made in regards to the mail handlers, however JSDCLOUD-5878 : Remove e-mail signatures from incoming mail is the feature request that is still outstanding. This would need to be addressed to try to manage this in Cloud today. Please follow that suggestion for updates on this.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
5 years on... Atlassian obviously not interested...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did this using a Jira automation.
- When ticket is created
- Delete all attachments
- Delete comment with smart value {{issue.comment.last.id}}
Seems to be working!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Matt!
But what if a real attatchment has been included in the email?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not the best with these, but you can regular expressions within the "Delete attachment" option
For example, if you wanted to delete any attachments except Excel spreadsheets, you can select "Does not match" and then use a regular expression like the below:
(.+\.xlsx)
I'm sure there's a way of expanding that expression so it cover multiple file types, but I'm not clever enough to know how!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Obviously there are cases where you'd absolutely expect a PNG file and your signature logo is PNG, so you can specify filenames.
It gets very complicated past that, and it's not a perfect solution by any means. But, for an internal desk team that we run, the above covers our need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Seems still no good solution here.
We have a pretty long signature with pictures, so if this mails goes back and forward and then into Jira it's a mess.
I tried with the Project Settings > Rules to remove it all.
After spending a complete day the result is that the pictures are not show anymore, it says Preview Unavalibe and the underlaying URL's still there, als the long disclaimer is still in place....
Tried to remove tekxt between certain worde:
{{issue.description.remove("OUR TEKST BEGINS HERE").remove("OUR TEKST END HERE")}}
Bit nothing there has been deleted.
See screenshot below.
If
The error looks like this:
I have no understanding of JSON so there might be the error, but after several hours trying different thinks I have no clue.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.