Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

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

Automation rule to send single email to assignee for all issues if target end is empty

Arpita Solanki March 4, 2025

Hi, 

I want to create automation rule which reminds assignees to fill 'target end' date if it's empty. Only one mail should be sent to an assignee containing links to all the issues where she is an assignee and the target end is empty.

5 answers

1 vote
Pasam Venkateshwarrao
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.
March 4, 2025

Hi @Arpita Solanki 

try this automation rule

Screenshot 2025-03-05 at 12.45.31 PM.png

Arpita Solanki March 4, 2025

@Pasam Venkateshwarrao Will this send one mail per issue?

Pasam Venkateshwarrao
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.
March 5, 2025

@Arpita Solanki  you can send email for group as well as single user that you should mention in “to” and “cc”

Pasam Venkateshwarrao
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.
March 5, 2025

@Arpita Solanki Advance branching can be found if you click on add component there you can find Branch click on the branch then you can find advance branching

Pasam Venkateshwarrao
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.
March 5, 2025

@Arpita Solanki which i shared the automation rule it will work properly i have tried it worked for me,Can you give some clarity what you are looking for

0 votes
Igor Medeiros - Modus Create
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.
March 5, 2025

Hi @Arpita Solanki

I believe that our app Notification Assistant for Jira can assist you in this scenario.

The app allows you to create fully customizable templates, notification schemes, and more.

To achieve the type of reminder you are looking for, we can a set a rule similar to the one below
reminder.png

 

This rule will send an email to each assignee with the following content:
issue_table.png

 

 

Feel free to book a demo session if you'd like to know more.

 

Best,
Igor Medeiros

0 votes
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 Leaders.
March 5, 2025

Hi @Arpita Solanki 

For Jira Cloud, scenarios to send a single email per Assignee would use the Advanced Branch feature, but that does not exist yet for Jira Data Center.  Here is the suggestion to add the feature, which you may watch / vote for to see progress: https://jira.atlassian.com/browse/JIRAAUTOSERVER-749

Some alternatives are:

  • Create a saved filter and ask people to subscribe to it 
  • When there are fewer than 10 possible assignees, use a recursive rule approach with the Incoming Webhook Trigger, progressively reducing the list of assignees one by one.  I recommend discussing this approach with your Jira Site Admin before attempting it.  
  • Investigate marketplace apps for this type of reporting

Kind regards,
Bill

0 votes
reza rouhafza
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!
March 5, 2025

Hi @Arpita Solanki 

There is no "advanced branching" or "loop" in Jira data center automation, so if you want to do exactly what you like, you should probably use script runner and Groovy scripting, which I don't recommend, especially if you are not a Java developer.

I suggest you create a saved filter with this JQL:

assignee = currentUser() AND cf[10000] is EMPTY

which "cf[10000]" is your 'target end' custom field. Then, tell your team to subscribe to this filter to receive an email based on their subscription interval.

You can see the filter subscription document in this link: https://confluence.atlassian.com/adminjiraserver0820/managing-filters-1095777760.html 

Filter Subscription.jpg

0 votes
Vishal Biyani
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.
March 4, 2025

@Arpita Solanki 

Have you written any automation rule so far?

there is a limit to number of issues that can be handled via automation at a time.

First business problem should be scoped properly, then the rules should be straight forward to handle.

if you run JQL where target end date is empty does it returns few hours or hundreds of rows?

In scenario where assignee is empty, who would the escalation mail go to?

 

Arpita Solanki March 4, 2025

I have written easy ones I guess. This one is something I am not able to figure out where I want to send only one mail to a person listing all the initiatives where she is marked as assignee.

To answer your questions, I have 350 issues. Mail should go to assignee of the initiatives.

Vishal Biyani
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.
March 5, 2025

@Arpita Solanki 

The way it needs to be done will be a combination of lookups and advanced branching

  • As Trigger, use scheduled as per your business need
  • Add lookup issues action and JQL: target date is empty etc
  • Then Add Advanced Branching and use {{lookupIssues.assignee.distinct}} in smatValue and give it a name say varAssignee
  • Then add lookup issue and JQL: same as step 2 and assignee = {{varAssignee}}
  • Then add Email component. All lookup issues returned will belong to same assignee. You can loop through the issues in email body

See if you are able to make progress with this

Arpita Solanki March 5, 2025

@Vishal Biyani I am not able to find advanced branching option. I use Jira data centre.

Suggest an answer

Log in or Sign up to answer