Is this an item notification, or an email sent by a trigger?
If you're using emailAdvanced.js, you'll want to use <%ID%> for the ID number. If you want to do a link to an issue in email, you can generate an HTML Anchor using the general form:
and it will generate a link with the item number.
The emailAdvanced.js script works for one item at a time, e.g. one email is sent for each item.. I have scheduled triggers that have queries which have dozens of items and would like them to show in ONE email not dozens of emails..
I wonder if the emailAdvanced.js could be modified to send an email of the entire query (e.g. ALL items in the query) , instead of an email for each item in that query. Does that make sense?
Certainly, that makes sense! It's just that it's non-trivial, and it looks like it's not something someone has done before.
Modifying emailAdvanced for this purpose is not practical, it's a massive script.
I have the same problem and I've decided to come up with a report that shows all the items I want to include in one email, then send a simple email with a link to the report. Actually, as I write this, I realize it could simply be a query and bypass the report altogether.
The problem is, I don't have time currently to do it, it's probably going to be a few more weeks before I get to it. When I have it, I can share my solution.
That is, assuming I understand this thread correctly. If you read the initial question, it's impossible to guess it's about the scenario explained in the 5th response.