You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to send an email when the issue is assigned for the first time only. When the ticket goes from unassigned to assigned.
Most automation triggers are going to resend the email (action) every time the assignee changes. I only want it to occur the first time when it goes from unassigned to assigned.
Hi @Suzanne Green -- Welcome to the Atlassian Community!
There are at least two ways to do this, depending on this question: do you expect issues ever to be unassigned after first assigned?
If the answer is "no", using the issue assigned trigger, you could use a condition to check change log and only proceed if the "from" value was unassigned (i.e. empty).
If the answer is "yes", you need a way to preserve/save that the email was sent. That could be done with a comment, custom field, or issue property. Once the value is set a condition could be used to check before proceeding. This method isn't tamperproof either, as the indicator could be altered too. I believe the only tamperproof way is to call the REST API and check the history to confirm the assignee has not been set previously.
Please try the Issue Assigned trigger, and try the fromString with change log. "from" will be the entire object and that may be more difficult to compare to
So the rule could be something like this: