Email Notification for a Jira Project

Maxie Brown March 27, 2024

We would like a notification to be sent to a single anytime any ticket is created/closed/updated but under “Amer” region for a Jira project. Is this possible? 

 

This project has three different regions but the single user only needs to be notified when a project is created under the "Amer" region selection.

 

 

Thanks

2 answers

0 votes
Maxie Brown March 28, 2024

 

 

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 27, 2024

Hello @Maxie Brown 

Welcome to the Atlassian community.

Is "region selection" a custom field in your issues?

Assuming it is, you will not be able to modify the Notification Scheme for the project to meet your requirement.

You could implement your requirement with Automation Rules.

https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

Rule #1: Issue Created

  • Trigger: Issue Created
  • Condition: Issue Field Value
    region field = "Amer"
  • Action: Send Email

Rule #2: Issue Closed

  • Trigger: Issue Transitioned
    Destination status is the status you used for "closed" issues
  • Condition: Issue Field Value
    region field = "Amer"
  • Action: Send Email

 

Rule #3: Issue Updated

This rule is trickier in that the transition caught in Rule #2 is also considered an Issue Update.

Issue Updated covers almost any update to any element of an issue. Do you really want the user receiving an email for every comment, every status change, every field change, etc.?

Maxie Brown March 27, 2024

Hi Trudy,

 

I believe "region selection" is a custom field. 

 

I'm trying to create a rule now for the first one you suggested.

 

not sure what goes in the Subject (Issue {{issue.key}} was just updated! part once I try to set up a email for it to send to.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 27, 2024

You can put whatever you want in the Subject and Content fields. Those will be the Subject and Content of the email that is sent. What information do you want to include?

Maxie Brown March 28, 2024

Hi Trudy,


I tried creating two rules:

 

Rule #1: Issue Created

  • When: Issue Created
  • Issue fields condition:

           Region = Value Americas

  • Action: Send Email
    to my email address as a test

          Subject - {{issue.key}} New (Jira Project Issue) Created

          Content - {{issue.summary}}

 

 

Rule #2: Issue Closed

  • When: Issue Transitioned
    Destination status is the status you used for "done" issues
  • Condition: Issue Field Condition
    Region = Americas
  • Action: Send Email

           to my email address as a test

          Subject - {{issue.key}} New (Jira Project Issue) Resolved

          Content - {{issue.summary}}

 

I tried testing this after creating an issue under Region = Amer but did not receive a email. I know I'm most likely doing something wrong.

 

Thanks.

 

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 28, 2024

Hello Maxie,

Can you show us the details of the rules you created?

Also please show us the details from the Audit Log for the execution of the Issue Created rule after you tried creating a new issue. Example screens below.

Click the Audit Log button for your rule. Find the last entry that is not a Config Changes status. Click on the Show More link. Share the details with us.

Screenshot 2024-03-28 at 10.13.38 AM.png

Maxie Brown March 28, 2024

Hi Trudy,

 

I took some screenshots.

 

Rule #1

Details for rule 1.JPG

Rule #2

Details for rule 2.JPG

 

 

 

Audit Log

 

Audit log for Jira Project.JPG

 

 

Thanks

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 28, 2024

Hello Maxie,

It looks like you have shared the Rule Details screen for one rule, and the steps tree of a second rule.

Let address one rule at a time, starting with the rule you created to run when an issue is created.

Can you provide screen images showing the details of each of the steps within the rule? I advise you obscure confidential information like your email address.

The Audit Log screen you shared appears to be from the Global Automation page, showing the run history for all rules. Can you go to the one specific rule and view the Audit Log for just that rule. 

We will need to see the details of the most recent entry in that log. Click the Show More option to the right of that entry to reveal the details, and share those with us.

Suggest an answer

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

Atlassian Community Events