Automation to send email only to the new Request participants in the Jira ticket
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Automation to send out email to only the new request participant added in the ticket.
Solution
Steps to Create the Automation Rule:
Access Automation Rules:
- Go to your Jira Cloud project.
- In the project sidebar, click on Project Settings.
- Under Automation, click on Rules.
Create a New Rule:
- Click Create rule.
- Select the Trigger for the rule. In this case, choose Field Value changed.
- Choose Filed to monitor as "Request Participant" and Change Type as "Value Added" as we are only monitoring the new values added to the field.
Create an Advanced Branching
Inside the branching create a For each smartvalue
- Create a valriable reqpar with smartvalue {{issue.customfield_10034}} . Note the 10034 is the custom field ID of Request participant field
- Create a smart value condition with below details
First value {{fieldchange.from}}
condition does not contain
Second value {{reqpar.accountId}}
Here, we are comparing the changelog in the ticket with FROM and To address and identifying the recent changes in the changelog
Create the Send email component
- Now simple add the component to send out email and the To address will have smart value like {{reqpar.emailaddress}} to notify the newly added account on the changes