Automation to send reminder email if an issue has been updated recently
Asked by jeremy.hillin:

How do I create an automation to run every day to notify the assignee that their ticket hasn't been updated in 7 days? I want this to check all tickets in our project that are not resolved.


Answers:
author: Trudy Claspill
body: Hello [@jeremy.hillin](/t5/user/viewprofilepage/user-id/5534655)

Welcome to the Atlassian community.

Have you considered using a Saved Filter and subscriptions instead?

You could set up a saved filter thus:

project=\<yourProject\> and assignee=currentUser() and updated \< -7d

Then have each user subscribe to that filter to receive the output on a daily basis.

If you must do this through Automation, do you want the assignee to receive one email listing their issues, or one email for each issue?

comments: author: Trudy Claspill
body: If you choose to use automation you could use a rule like this. This rule would send a list of issue keys to each assignee where the list includes issues that have not been updated for 7 days or longer.

![Screenshot 2024-07-02 at 3.59.56?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/333140iEBBDE401A057160C/image-size/large?v=v2&px=999 "Screenshot 2024-07-02 at 3.59.56?PM.png")![Screenshot 2024-07-02 at 4.00.07?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/333139i4F6B0ADE3D512A6F/image-size/large?v=v2&px=999 "Screenshot 2024-07-02 at 4.00.07?PM.png")


author: jeremy.hillin
body: one email with a link to all their tickets would be great.


author: jeremy.hillin
body: This worked great. Even updated the email content to provide a link to the ticket.


author: Boluwatife Adewole
body: hi [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) ,

I tried this but this is the email I get. I used myself as the test subject.

I would appreciate if you tell me what i'm doing wrong.

Thank you.

![jira rule 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/342101iD67B910306D0DC3E/image-size/large?v=v2&px=999 "jira rule 1.png")![jira rule 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/342102i22576EDD87CD821E/image-size/large?v=v2&px=999 "jira rule 2.png")![jira rule 3.png](https://community.atlassian.com/t5/image/serverpage/image-id/342100iD1D8D1B97EFDC0CD/image-size/large?v=v2&px=999 "jira rule 3.png")![jira error.png](https://community.atlassian.com/t5/image/serverpage/image-id/342099i348C43F18188A26F/image-size/large?v=v2&px=999 "jira error.png")


author: Trudy Claspill
body: [@Boluwatife Adewole](/t5/user/viewprofilepage/user-id/5569054)

Welcome to the Atlassian community.

Between the second Lookup action and the Send Email action, add a Condition to check that at least one issue was found by that lookup action.

Ignore the trigger in this screen image.

![Screenshot 2024-08-16 at 9.13.28?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/342221iE1D9C6498244D16C/image-size/large?v=v2&px=999 "Screenshot 2024-08-16 at 9.13.28?AM.png")

That ensures the email is sent only if there are issues found for the assignee.

Also, in your email content you specified "Key" with a capital "K". Use a lower case "k". Smart value names can be case sensitive.


author: Nicolas Grossi
body: [@jeremy.hillin](/t5/user/viewprofilepage/user-id/5534655) You might take a look at this link: <https://community.atlassian.com/t5/Jira-Service-Management/Automation-send-email-with-issues-based-on-last-update/qaq-p/1726602>

HTH

Nicolas

comments: author: jeremy.hillin
body: I saw that one but I don't see what step should come after the scheduled time to start iterating over all the issues.


author: jeremy.hillin
body: ![JiraStale.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/333136i6E1EEFA9157F86A1/image-size/large?v=v2&px=999 "JiraStale.jpg")