Forums

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

Jira automation - email every assignee ever assigned

A Lau
May 29, 2026

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

2 answers

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 Champions.
May 29, 2026

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:

  1. As people are assigned, an automation rule could add them as Watchers.  This would allow them the option to "opt out" of receiving the communications by changing their own settings, or removing themself as a Watcher.
  2. Although the list of previous assignees is in the work item history, it is not directly accessible to a rule. Instead, one would need to bulk-read the changelog for the assignees...and then read each one-by-one to get their email address to send separate emails to each.  (That second part is required because the changelog will not contain the email addresses.)  A workaround to bypass the looping / endpoint calls is using a multiple-selection user picker field to set them all and get the email address values
  3. etc.

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

0 votes
Trudy Claspill
Community Champion
May 29, 2026

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 Method 1 of these suggestions.

 

In Jira Cloud Automation, there is no direct "past assignees" smart value that retrieves all historical assignees in a single list. To achieve this, you must use a Send web request action to call the Jira REST API, parse the issue's change history, and then email the results. [1, 2, 3, 4]

 

Steps to Email All Past Assignees
  1. Trigger the Rule: Choose a trigger that fits your workflow (e.g., Issue Transitioned or Manual Trigger).
  2. Fetch Change History:
    • Add a Send web request action.
    • URL: Use to access the full history -  {{baseUrl}}/rest/api/3/issue/{{issue.key}}?expand=changelog.
    • Method: GET
    • Authentication: Ensure you use a
      Jira API Token

      for authorization.
  3. Parse and Filter Assignees:
    • Use a Create variable action to extract unique email addresses from the history.
    • Smart Value: Use a complex expression to filter webhookResponse.body.changelog.histories for items where the field was "assignee". [2, 10, 11]
      • i.e.: {{webResponse.body.changelog.histories.items.flatten.filter(it -> it.field == "assignee").toString}}
  4. Send Email:
    • Add the Send email action.
    • To field: Insert your created variable or use the parsed smart value (e.g., ). [5, 12, 13]
Alternative: Tracking "Live" History

 

If you want a simpler solution for future issues, you can track assignees as they change:
  • Trigger:
    Field value changed

    (Assignee).
  • Action: Use Edit issue to append the user to a custom "Multi-user Picker" field.
  • Email: You can then easily email everyone in that custom field using standard smart values. [3, 15, 16, 17, 18]
Limitations
  • API Limits: The change history REST API may have paging limits if an issue has hundreds of changes.
  • Privacy: Be aware that
    Jira Service Management

    customers may not have accessible email addresses depending on your site's privacy settings.

 

AI responses may include mistakes.

 

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 Champions.
May 29, 2026

Hi @Trudy Claspill 

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:

  • looping over the results to get the email addresses by reading each user with another Send Web Request call, or,
  • "cheat" and use a company-managed, multiple-selection user field to first select all of them, re-fetch, and then grab the email addresses

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events