Issue Details (XML | Word | Printable)

Key: JETI-6
Type: Support Request Support Request
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tibor Hegyi
Reporter: Patrick Gover
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA Email This Issue Plugin

Changing the format of the comment generated by a JETI operation

Created: 04/Jun/08 08:27 PM   Updated: 25/Jun/08 05:13 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1

Time Tracking:
Not Specified

File Attachments: 1. Text File email-this-issue-comment.vm (0.4 kB)

Environment:
JIRA 3.12 stand-along install for development purposes
using email-this-issue-plugin-jdk1.4-1.3.jar

Labels:


 Description  « Hide
I would like to add some carriage return line feeds (CRLF) to the format of the JIRA comment generated when a JETI operation is performed and I am having some difficulty. My users would prefer the format to separate the parts of the email comment (Receipients, subject, attachments, body) on separate lines.

I located the email-this-issue-comment.vm template in the
\web-inf\classes\templates\email\text\includes folder.

I edited the file to space out the different email objects. This did not make a diffence. I thought that vm templates reflected the spaces and line feeds between the objects.
Do I need to us something like html &nbsp?

Is the sub-directory above the correct placement?
Do I need to extract the wiki version of the file I see in the Jar file?

I added the file I attempted to change as an attachement.

Thanks.



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Tibor Hegyi added a comment - 05/Jun/08 04:40 AM
Hi Patrick,

please not that the comment vm files should remain in the jar in folders: templates/emailissue/comment/text and templates/emailissue/comment/wiki

if you want to customize comment format, save the vm files back to the jar in the above folders appropriately and restart jira.

  • email-this-issue-comment.vm in the .../text folder should not contain escaped html characters but normal line breaks.
  • email-this-issue-comment.vm in the .../wiki folder should have valid JIRA / Confluence wiki markup content as this file will be used to generate wiki markup comments in JIRA.

Again, these vm files are looked up from the jar.

Let me know if it does not help.

Cheers,
Tibor


Tibor Hegyi added a comment - 10/Jun/08 01:35 AM
I resolve the issue, please reopen if you still face the issue.

Tibor Hegyi added a comment - 25/Jun/08 05:13 AM
done.