Service feedback Message in Jira

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

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

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...

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.

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

Your help will be much appreciated

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,507 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you