Forums

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

Jira Automation: How to send mail only to added User

Daniel Triftshaeuser
Contributor
July 28, 2020

Hello everyone,

 

I created a new User custom field of field type "User Picker" which was created out of the necessity to have multiple assignees per issue.

Now I want to introduce an automation rule that sends a mail to the new assignee in the event that one is added.

 

How do I manage to only address the newly added member, without sending a mail to all previous assignees as well? I am struggling to use the smart value {{fieldChange}} for this, as it only fetches strings at best and I cannot get the email address from this.

 

Any advice is highly appreciated, thanks in advance

 

Best Regards

Daniel Triftshaeuser

3 answers

1 vote
Simon Schwab Mariño February 16, 2023

Hey everyone!

The trick is not using the {{fieldChange}} variable as you might initially think. I have posted a complete elaboration on this question. I hope it helps!

Best
Simon

Daniel Triftshaeuser
Contributor
March 9, 2023

Hey Simon,

 

thanks for your detailed write-up on the other question.

The topic has lost some of its urgency since I first asked the question here, who would have guessed :D

I'll be sure to test your solution when I get around to it and let you know if that works / would have worked for my use case.

 

BR
Daniel

Like Simon Schwab Mariño likes this
Simon Schwab Mariño March 9, 2023

No worries, I figured. :P

I just put it here for completeness in case anyone else comes across this post looking for a solution.

0 votes
Joshua Wyss November 16, 2022
0 votes
frother
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2020

Hi Daniel,

Thanks for reaching out.

Unfortunately, that is not possible at the moment. You were going down the right track, fieldChange is the correct thing to use, but it only gives you the accountId. 

We have an open issue in the backlog to implement a way to use this to find the complete user (with email).
https://codebarrel.atlassian.net/browse/AUT-725

Sorry,
Scott

Daniel Triftshaeuser
Contributor
August 12, 2020

Hey Scott,

 

thank you for you answer.

What a shame, but hey at least it is being looked into.

 

Best Regards

Daniel

Hans August 31, 2020

I have a similar use case and am looking forward to this feature being available!

Suggest an answer

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

Atlassian Community Events