I want to make an automation that will email every assignees who had ever been assigned to an issue when the description change.
I can create the workflow emailing to the current assignee but unable to find all assignees ever assigned.
Asking ChatGPT did not help. keep asking to pick something did not exists in the workflow build UI.
Can someone show me the steps or point me to the right document?
thanks
Hi @A Lau
First thing: what problem are you trying to solve? That is, "why do this?" Knowing that may help the community offer additional suggestions than automation rules.
Until we know that...
There are likely several ways to solve this need, each has a common challenge: What do you want to do when someone was assigned in error? Do you want to continue to email a person in that case?
Back to possible approaches:
Before building a rule, I recommend clarifying the "why do this", and perhaps try the built-in Watcher feature described in approach #1.
Kind regards,
Bill
Hi @A Lau
You can do it with the changelog API:
URL: https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/changelog
This is what you are looking for. we need to get the "to" into a variable:
"created": "2026-05-29T19:10:35.812-0400",
"items": [
{
"field": "assignee",
"fieldtype": "jira",
"fieldId": "assignee",
"from": "712020:3bd23a5c-a163-4e2c-a042-0602585a5dde",
"fromString": "Rovo Dev",
"to": "60ad301a5c7373006939113f",
"toString": "Jennifer Evans",
"tmpFromAccountId": "712020:3bd23a5c-a163-4e2c-a042-0602585a5dde",
"tmpToAccountId": "60ad301a5c7373006939113f"
}
]
first part
save the current assignee to originalAssignee , smart value {{issue.assignee.accountId}}
the variable allAssigneeIDs
smart value
{{#webResponse.body.values}}{{#items}}{{#if(equals(field, "assignee"))}}{{to}},{{/}}{{/}}{{/}}
If you create a log action you will get all past "to" values:
Lets get rid of the last comma
pastOwnerID
smart value
{{allAssigneeIDs.replaceAll(",$", "")}}
Now a branch that will loop the smart value:
this part can be done differently, but this one worked for me:
change the assigne to pastOwnerID
then send email to Assignee
then assign the work item to the original assignee
Hope that works!
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @A Lau
Welcome to the Atlassian community.
This is not something I have implemented before so I asked Chrome Gemini:
"in jira cloud automation how can I get all the people who have ever been assigned to a specific issue and send an email to them?"
Following is its response. I confess that I have not actually tried this suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That first endpoint may not return all changelog entries due to paging, and it will not contain the email address for each Assignee in the changelog entries.
Using the bulk-get changelogs endpoint could filter by the Assignee field, increasing the chances of one single read getting them all. But still, either:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alex Lau
A subscription field is a clean way to manage the recipient list without looping through changelog history. The catch is that native Automation can't easily send to a multi-user or text field as recipients, which is why the changelog approaches above get complicated.
Our app Notification Assistant for Jira can send to a User Picker, Multi-User Picker, or hardcoded email field directly as recipients, triggered on description change. That makes your subscription-field idea work without the reassignment workaround.
Feel free to reach out if you'd like to learn more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone for all the replies and learnt a lot. I guess some of the very useful information probably will achieve what I wanted but I think I the mean time, I will go with a subscription field for users to add them to the email list without over complicated the automation rule.
Thanks a lot everyone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.