Forums

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

Automation rule to look up issues and send emails by assignee

Yulia Zhyliaieva
Contributor
February 24, 2021

Hi!

I need to come up with an automation rule that does the following:

- Runs search for issues in a project

- Sends separate emails to reporters with the following info:

      - List of issues that they reported

Problem: far I can only come up with a filter that sends a list of all issues to all reporters. What I need is for every reporter to receive an email with only the issues reported by him / her

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Muhammad Ramzan_Atlassian Certified Master_
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.
February 24, 2021

Hi,

Please create a filter reporter=currentuser and project =your project

 

Create a group whome you interested to send emails, add users and subscribe this filter to that group . For filter frequency,  you can set as per needed.

 

Now each  reporter will receive email with issues they reported.

 

Please change the above query  as needed

Yulia Zhyliaieva
Contributor
February 24, 2021

I still have a question. I run a search based on the following filter:

Project = "X" and StatusCategory !=Done

Should I add the reporter = currentuser to this filter?

Who should the email be sent to? There is a "reporter" option, but so far every reporter receives a list of all issues. will this reporter = currentuser solve the problem?

Muhammad Ramzan_Atlassian Certified Master_
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.
February 24, 2021

Yes, please you need to add it in the query otherwise,  user will receive all issues.

 

If you add that part  then user will only receive issues which they reported.

Like Yulia Zhyliaieva likes this
Yulia Zhyliaieva
Contributor
February 25, 2021

The rule failed:

As there is no issue present, cannot get the value of the field:assignee

However, the filter gave out two issues, in both of them I am the assignee.

Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty.

In the rule I stated to send an email to assignee.

 

Can that happen because the autorul runs for a Next-Gen project, and assignee field has some different parameters in JIRA?

Muhammad Ramzan_Atlassian Certified Master_
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.
February 25, 2021

No need to create a rule, please just create a filter and subscribe the group to that filter

 

1) Create your Query and save it

2). Go to Details and click on New Subscription

3). Now select the Schedule Daily and set the Interval as per your needs

 

Add the group  which include users 

Like # people like this
Yulia Zhyliaieva
Contributor
February 25, 2021

Oh, I see. That solves a lot of my future problems, thanks!

Well, as for the automation rule I only need to run it once, and post a message both to email and to Slack channel for people to clean up the JIRA project. And I am dead curious to know how to do that with automation for future reference, although your answer helps!

Like Joshua Francis likes this