Customizing email text to include a specific comment

View: New views
6 Messages — Rating Filter:   Alert me  

Customizing email text to include a specific comment

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using the [CJH JIRA Workflow Plugin|http://confluence.atlassian.com/display/JIRAEXT/CJH+JIRA+Workflow+Plugins], which provides a post-function to add a comment on a transition.

The email template used for the event fired by this event (the Issue Updated event) already includes the optional Comment that the user can input on the transition screen, however I'd like to customize it to also include _this_ comment.

Does anyone know how to do that?

Thanks!
--
Post by walkb - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38572
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Customizing email text to include a specific comment

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Have you seen this document?
* http://confluence.atlassian.com/display/JIRA/Modifying+JIRA+Templates+and+JSPs

It talks about modifying velocity templates in Jira, and then links to this one called "Adding Custom Fields to Email" which may help:
* http://confluence.atlassian.com/display/JIRA/Adding+Custom+Fields+to+Email

Good luck!


Cheers,
Emily
--
Post by estumpf - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38572
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Customizing email text to include a specific comment

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I've seen those documents, but unfortunately I'm not a Java developer and am confused about what is available to the email template vs. some other context.  

I even saw [this article|http://confluence.atlassian.com/display/JIRAEXT/Display+All+Comments+(Historical+Log)+in+JIRA+Emails] which looks terrific, but requires setting up a build environment and rebuilding the JIRA source code -- steps I'd like to avoid until I am past the "crunch" of my project deadlines.

Does anyone have any code for an email template to show the last 2 comments added to an issue, without requiring any builds?

Thanks!
--
Post by walkb - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38572
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Customizing email text to include a specific comment

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you're using JIRA standalone you don't have to rebuild JIRA. Only have to modify the JiraMailQueueUtils.java file. I think that's what he said, anyways.
--
Post by MHarper - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38572
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Customizing email text to include a specific comment

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, sorry, but we're using a WAR deployment.
--
Post by walkb - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38572
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

Re: Customizing email text to include a specific comment

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, just to comment on the email velocity context part, this might help:
* http://confluence.atlassian.com/display/JIRA/Velocity+Context+for+Email+Templates

Sorry I don't have more advice to offer!  You may want to try your question in the [Jira Development forum|http://forums.atlassian.com/forum.jspa?forumID=100] as well.

Cheers,
Emily
--
Post by estumpf - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38572
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user