Forums

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

Creating automation to send email to unassigned user

Jade Tran October 7, 2025

Hi,

I need some help designing an automation that sends an email to the user who has been unassigned from an issue. Jira currently sends notification emails to the assignee, however I want them to get an unassigned email so they don't waste time clicking on the notification.

What conditions would I have to add to make the automation execute what I'm asking for?

Thank you!

1 answer

1 vote
Bill Sheboy
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.
October 7, 2025

Hi @Jade Tran 

What version of Jira are you using, as that impacts automation features: Cloud, Server, or Data Center?

Until we know that...

For Jira Cloud with the rule trigger Issue / Work Item Assigned, the changelog smart value contains the accountId of the previous user:

{{#changelog.assignee}}{{from}}{{/}}

But it does not contain the email address.  Thus a rule would need to check if that value is not empty, and then call the REST API with the Send Web Request action to get the user's email address.

 

Kind regards,
Bill

Darryl Lee
Community Champion
October 7, 2025

If your trigger is specifically looking for when Assignee has changed, a slightly shorter option is fieldChange:

{{fieldChange.from}}

Although like Bill's recommendation of changelog, this also only returns the UserId (ex: 712020:5e51f2de-a70b-4033-bb49-06685ba05b6c), which then you need to make an API call to lookup the email based on the UserId.

One way to do that would be the Get user API call.

HOWEVER, that call respects user profile privacy settings. So if your users are not in all in the same organization (the default is that emails are visible to other organization members) the call will probably not return the email address.

If you have users outside of your organization, you may need to try using this Organization REST API endpoint: Search for users in an organization.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events