Automation For Jira - How to write a rule that will send an email to the project lead

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Automation For Jira comes with the "Send Email" action that allows automation rules to send emails to users or group of users. The problem is that the "Project Lead" is not available in the dropdown of recipients, due to some feature limitation:


The purpose of this article is to provide a way to work around this feature limitation by using a smart value to send an email to the project lead.

Environment

  • Jira Server/Data Center on any version from 8.0.0
  • Automation For Jira on any version from 7.4.0

Solution

The smart value that you can use to send an email to the project lead is:

{{issue.project.lead.emailAddress}}

Let's assume that you want to create an automation rule to inform the Project Lead whenever a new issue is created in a project. The rule can be configured as described below:

  • Trigger: "Issue Created"
  • Action: "Send Email", with the configuration below: 
    • To: Copy and paste the smart value below into the "To" field and press enter:

      {{issue.project.lead.emailAddress}}
    • Subject: Enter the subject of your choice
    • Content: you can use the content below as an example:

      The issue {{issue.key}} was created with the summary {{issue.summary}}.

The automation rule described above will look like this:



Last modified on Nov 13, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.