Forums

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

Jira Automation For Each Problem

Simone Simonassi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2024

Hi,

I defined a simple rule that every week send an email with the list of the open Issues to the Assignee.

The List is filtered for a determinated Project.

Actually we have 12 assignee to open issues in the project, but only 10 of them receive the email correctly.

The rule is as follows:

image.png

The Users are correctly confirmed (with the email address)

I added some Log actions to try to debug, but I had no results.

What I can see:

1) The lookup issues block give as result a list with 12 distinct users in the field assignee

2) The first Add value to the audit log lists 10 Email to: strings (separated by ",")

3)  The Email has been sent to the 10 users listed in the log, not to the other 2

 

Some one can help me understand what I'm missing?

Thanks

1 answer

1 accepted

3 votes
Answer accepted
Salih Tuç
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 Leaders.
October 22, 2024

Hi @Simone Simonassi , welcome to the Community!

 

Lookup Issues is returning at most 100 issues. Probably, your JQL returns more than 100 issues and these 100 issues doesn't contain the other two guys.

You can access all of the issues by using {{lookupIssues}} as suggested in documentation.

 

By the way, if you are just sending email, weekly, to the ones that have issues, why aren't you using Subscriptions instead of Automation?

You can check the documentation, but also here are the steps:

  • Create a filter by your JQL query
    • You should change "assignee is not empty" to "assignee = currentUser()"
  • On Filter Details click "Add Subscription"
  • Set the time and the group (Yes, it is using Jira groups. You can create one or you may go with all users, since you are filtering with currentUser in JQL)
  • Click Subscribe.
  • Voila!
Simone Simonassi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2024

Hi Salih,

thanks a lot for your reply.

This was the problem, the JQL is returning more than 100 records.

I'll switch to the subscription.

Best regards

Suggest an answer

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

Atlassian Community Events