Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do trigger an email everytime a customer fills out Satisfaction ratings

Joshi, Hardik July 21, 2020

I have satisfaction ratings switched on my account. So every-time an issue is resolved, Jira sends out a survey back to the customer asking feedback. What I want is, when a customer chooses to provide feedback, for Jira to trigger an email to me (administrator)

 

Thanks!

1 answer

1 accepted

2 votes
Answer accepted
Robert Levelind
Contributor
July 21, 2020

Sample Recipe for Jira Automation

When: Value Changes for "Satisfaction"

Then: Send Email to you / Administrators

Screen Shot 2020-07-21 at 13.39.17.png

Kerli Loopman
Contributor
July 21, 2020

@Robert Levelind where from are you doing this? I don't have a "Field value changed" option in automation. I went to project settings - automation. Is this the right place?

Maybe it is not possible in cloud?

image.png

Robert Levelind
Contributor
July 21, 2020

@Kerli Loopman 

If you scroll down in your Project Settings you will first see "Automation" which you are currently using.

If you scroll a bit further you should be able to see another section called "Project Automation" which is the newer (and in my opinion better) automation engine :)

Kerli Loopman
Contributor
July 21, 2020

Thank you, never noticed that one. :) Will start to explore it now.

Like Robert Levelind likes this
Joshi, Hardik July 24, 2020

@Robert Levelind 

Thanks! How do I add the comment and the number of stars to the email that I`m triggering as a result of this rule.

Thanks for the help!

Robert Levelind
Contributor
July 24, 2020

Hey @Joshi, Hardik

Satisfaction Rating is stored as a customfield inside your Jira instance - you can use some API exploring to find the ID. For my particular instance that would be

customfield_12345


API Exploring: https://<your-site>.atlassian.net//rest/api/2/issue/<TEST-ISSUE>?expand=names

Search for "Satisfaction"


When sending as an email you can use this notation to get just the satisfaction number from the field

{{issue.customfield_<ID>.rating}} / 5

 

Joshi, Hardik July 27, 2020

I can`t seem to open that link for the APIs. The page keeps re-routing. I`ll keep digging into it - thanks!

Petr AST
Contributor
December 4, 2020

@Joshi, Hardik @Robert Levelind 
Hi! Did u solve this problem?)

Robert Levelind
Contributor
December 4, 2020

@Petr AST Yep just follow the thread and replace with your instance :) 

Petr AST
Contributor
December 4, 2020

@Robert Levelind 
Very strange:)

In the automation "send email" for the lookup issues I've used these examples, but it didn't work for me at all {{issue.fields.Satisfaction}} • {{issue.fields.Satisfaction}} • {{issue.customfield_10028.rating}} • {{issue.fields.Satisfaction.rating}} • {{issue.Satisfaction.rating}} 

What am I doing wrong? 
Screenshot_38.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events