Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Automation - Scheduled task not sending emails. Edited

Hi All,

 

Using jira automation I have done the following:

  1. added a schedule task
    1. settings
      1. Fixed rate of every > 2 days
      2. When rule executes > run a JQL search and pass results to subsequent conditions and actions
        1. JQL > labels = request AND status != closed
          1. Finds all items labeled request that haven't been closed
          2. If issues found go to next steps (send email)
      3. Only include issues that have changed since the last time this rule executed > Disabled (was enabled might be the issue, by disabling it will it work?)
  2. then send email
    1. this works if if I run it manually.

Issue:

  • email doesn't send out after 2 days when the result shows an issue found.

 

2 answers

Does anyone have a reason why this isn't working?  Is there something else that needs to be done?

Hi @Gavin

Your rule looks solid, I would do the same, and leave uncheck "Only include issues that have changed since the last time this rule executed" option. If you go on the trigger, it will guide you on when the rule is going to run for the very first time, as well as all the next runs. Keep in mind that if the JQL yields no results, then no email is going to be sent out.

scheduled emails.png

 

However you could also use subscription filter instead of an automation:

  • Create your filter " labels = request AND status != closed"
  • Save your search with a name
  • Go to Details > New Subscription
  • Choose recipients
  • Schedule you filter
  • Check "Email this filter, even if there are no issues found" to do whatever it says that it does

subscription.png

 

Hope that helps!
Alex

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you