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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Scheduled Automation (Automation for Jira): Do not run if no issues found

I am utilizing the attached scheduled automation via Automation for Jira.

 

With the automation, I will have it send out an email to a certain group of users, indicating there are issues that warrant their attention.

 

I only want the email to run if there are issues that appear in this JQL, if there are no issues, then this email should not be triggered. 

 

I know this can be done natively in Jira with the subscription on a filter, but I do want to include additional context in the email as well, and additional links, which cannot be done via the native Jira subscription.

 

automation.png

2 answers

1 accepted

0 votes
Answer accepted
Jane Yeoh Atlassian Team Feb 02, 2020

Hi Jeffrey,

It's great to hear that Automation for Jira is helping you achieve your outcome! If there was anything that we can help you with, please don't hesitate to reach out.

Cheers,

Jane

Hi Jane, 

 

I am a bit confused by the context of you question, I am not posting a solution, but asking a question. Which is, is there a way for this automation to be triggered only when the JQL has results, if there are 0 results, then do not send the intended email.

Hi Jeffrey, 

 

I'm so sorry! I have clearly misread your post. For your requirement, you could use our Advanced Issue Condition to run the rule based on your requirement. Your rule will look something like this:

Screen Shot 2020-02-10 at 10.39.57 am.png

 

 

Screen Shot 2020-02-10 at 10.40.57 am.png

If you have any more difficulties, please feel free to raise a support ticket here.

Cheers,

Jane

@Jane Yeoh  that "here" link didn't work.

 

This works for the most part, but it sent out 5 emails, and I only need it to send one email.

Is there a way to program it to send one email

automation.png

Jane Yeoh Atlassian Team Feb 16, 2020

Hi Jeffrey, 

If you are in Cloud, unfortunately there is no current way to bulk process issues into one email. We are however tracking this here: https://codebarrel.atlassian.net/browse/AUT-888

If you are in Server, you just need to tick the bulk processing option as per our Docs here: https://docs.automationforjira.com/issues/bulk-processing.html#bulk-handling-of-related-issues

I hope that helps. 

Cheers,

Jane

Thanks. I know Codebarrel was acquired by Atlassian, do you think I will ever be able to watch code barrel's tickets?

Thanks @Jane Yeoh 

Please let us know once the bulk process issue is fixed.

on a seperate note , is there a way to get the active sprint as a smart value ?

 

Regards,

@R

Hi @Jane Yeoh 

Can you explain how to configure for separate filter requests for pulling the tickets and sending reports through the mail every week?

Thanks in Advance

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