Forums

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

Email Notification - Priority change

deepak verma
Contributor
November 9, 2022

Hi Community,

 

I wanted to create an automation that would send an email notification to all the participants once the issue priority level has been changed so as to infor the intesity of importance of the issue.

 

i have used the smart variables to execute the same however there is an error on the mail

as when i change the priority of the issue on the mail it always shows the pririty status of the issue as medium even  if it is changed to highest 

 

Code:

{{issue.summary}}

Priority has been updated to : {{issue.parent.priority.name}}

//returns

 

Website development for speed analytics

Priority has been updated to : Medium

 

Actual Output required :

 

Website development for speed analytics

Priority has been updated to : Highest 

 

2 answers

1 accepted

1 vote
Answer accepted
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2022

Hi @deepak verma ,

Welcome to the community !!

Please check if automation rule "Value changes for" works for you.

Create rule as below

  1. New trigger = New Value Changed
    • Fields to monitor for changes == Priority
    • Change type == Any changes to the field value
    • For == All issue Operations, Click Save
  2. Add new condition, select Issue Fields condition 
    • Field == Priority 
    • Condition == Is one of
    • Value == Highest
  3. Add new action and select Send email
    • in To, select the required fields like Assignee, reporter, request participant etc
    • Add a subject and Content to the email body
  4. Click Save, give a name to the rule and publish the changes

Rule will look as below screenshot

image.png

deepak verma
Contributor
November 10, 2022

image.pngThe issue still remains as when priority is updated to highest then the mail update should also have the value Highest instead it is sending medium as the field value for the priority .

 

I have attached screenshot below for the code written kindly check image.pngimage.pngimage.png

Like HIMANSHU KUMAR likes this
deepak verma
Contributor
November 10, 2022

Also is this smart value {{issue.parent.priority.name}} is correct one to update the current priority status of the issue on the mail notification.

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 10, 2022

Hi @deepak verma ,

In the Email content use  smart value {{issue.priority.name}}

This is how the email will look

image.png


My Automation email content is as below

image.png

Like Amélie Duplany likes this
deepak verma
Contributor
November 10, 2022

Thanks a lot this works well

Like Rilwan Ahmed likes this
0 votes
Amélie Duplany
Contributor
November 9, 2022

Hi Deepka, 

Could you share a screen about your automation rule ? 

Thank you 

deepak verma
Contributor
November 9, 2022

image.pngimage.png

Like Ravisekhar_g likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events