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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

713 views 6 13
Read article

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