Forums

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

Automation for Jira - Send email To custom field user

Cyndi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 12, 2021

Automation for Jira - Send email To custom field user

Form contains a custom field:

 - Field Name:  Manager - FM

 - Field type:  Multi user picker

Agent completes the request form.  Updates the manager field (this cannot be prepopulated).  When a request moves to a specific status would like to trigger a notification from automation.  

Using the automation "send email" option send an email to everyone in the Manager field.  

I can get the display name:

{{#issue.Manager - FM}}{{displayName}}

But I am unable to get the email address values:

{{#issue.Access Approver - FM}}{{displayName}} ({{emailAddress}}) {{/}}

Using documentation:  https://support.atlassian.com/jira-software-cloud/docs/use-smart-values-to-access-listed-values/

3 answers

1 vote
Tom Lister
Community Champion
August 13, 2021

Hi @Cyndi 

I'm on server but when I want to send an email to a user field , using Automation for Jira plugin, I can select the field from a dropdown of available user-pickers.

e.g.

image.png

is that option available for Cloud?

0 votes
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2021

We're launching support for Post Functions in Notification Assistant for Jira this coming week. You can configure that to use the Manager field as the recipient, and build a custom Template

0 votes
Ashu Tyagi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2021

@Cyndi  I am not sure if you just want to notify those "Managers" when an issue is in certain status or want to sent them some other info.

I had a request in past where user in a certain custom field wanted to be notified only when a ticket is moved to certain status. The way i did it was that i created an Custom event and then in notification scheme assigned that custom field as recipient of those notifications. Now in the postfunction section of the transition which leads to desired status i changes the last postfunction that says "Fire a Generic Event to be processed by the listeners" . In this Postfunction change Generic Event to the newly event which you created.

Another easiest method to do that would be creating a Filter which says something like Status changed from x to y and then have users subscribe to those filters and they will get notified at time which they specify 

Tom Lister
Community Champion
August 13, 2021

Hi @Cyndi 

Automation for Jira can provide triggers based on status changes in the workflow

e.g.

image.png

Suggest an answer

Log in or Sign up to answer