Service feedback Message in Jira

Samantha Jones August 26, 2013

Is there a way that, when I close a story in Jira, a message gets sent to the reporter to request a service rating?

4 answers

1 vote
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 26, 2013

Hi Samantha,

By using the notification scheme in your project you can indicate that the original reporter should receive a message when the issue is closed.

This message is created with a velocity template that you can find in your Jira installation directory under the following directory tree : <install-dir>/atlassian-jira/WEB-INF/classes/templates/email/

the name of the template is issueclosed.vm (you can find a html version in the /html subdirectory and a text version in the /text subdirectory.

You can edit these templates as much as you like, so you can easily add a request for a service rating in this message.

More information about this can be found here :

https://confluence.atlassian.com/display/JIRA/Customising+Email+Content

Best regards,

Peter

Christian Czaia _Decadis AG_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2013

But be aware that editing the core velocity files will have effect on all notifications that use those files (in this case using the issueclosed.vm). I would probably create an extra template and an extra event which would give me all the flexibility I'd need...

Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 26, 2013

Christian has a good point, if you are using your Jira for other projects too be aware of the consequences of editing the core velocity files.

You could of course also add an 'if statement' that checks if the issue key is from a certain project and only display the message if this statements resolves to true.

But that's already pretty decent velocity coding, a custom event and template might be easier.

0 votes
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2013

YOU can configure customized notification and configure the notification for this transition.

0 votes
Samantha Jones August 26, 2013

Your help will be much appreciated

0 votes
Christian Czaia _Decadis AG_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2013

You should have a look at Jamies's script runner plugin which has a "send custom e-mail" postfunction built-in...

https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-SendCustomEmail

Cheers Christian

Suggest an answer

Log in or Sign up to answer