Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to send an email to the right user when the initiator is a plugin?

Andrea Kunkel
Contributor
September 5, 2021

Hi, I'm trying to set up this automation:

When a user logs time (Tempo plugin) for an issue and the total time spent is over the Original estimate, they should get an email with personalized content.

I managed to set it all up but am having problems with sending the email to the right person. I can't use {{initiator}} to get the email address of the user because it's the Tempo plugin that triggers the automation.

Is there a way I can use the current user as a smart value? My next idea would be to try to find out the last user who logged time, but I haven't looked into that yet.

Does anyone have a solution for this?

1 answer

0 votes
frother
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2021

Hi @Andrea Kunkel ,

If it is the tempo user that logs the time, then there is no other way to get the initiator. I agree with your approach of trying to look for the last user that logged time.

The best way to see if you can extract that via smart values is to follow this guide:
https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/

Hope that helps,
Scott.

Andrea Kunkel
Contributor
September 8, 2021

Thanks a lot. I tried it but unfortunately, all entries I could find in the JSON data also show the Tempo plugin as the author.

Is there a way to get all Tempo entries (via the REST API maybe)? (I mean all entries, not just the ones from this issue.) The entries must be connected to the related issue so I thought I could maybe go that way.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events