Filter subscription generates items in mail queue

Step1: create more filters

Step 2: subscribe groups of users to the filters

Step 3: Test Mail queue

Result: a lot if items are generated even for the users that have no emails to receive (the conditions of the filter returns nothing)

 

Expected result: in mail queue should be generated only items that are mails to be sentCapture.PNG

1 answer

0 vote

Hi Oana,

That's the expected behaviour, as filter subscriptions' JQL queries are internally executed once per each subscribed user, so that it returns the issue results that they would have obtained by executing the same JQL query individually in the Issue Navigator.

Processing the query on a per user basis is needed in order to send to every user results relevant to them, or that they have permissions to see.

Note that the subscription can be set to send a notification even if the query has not returned any issues for a given user. Such an option might be important in some cases as a confirmation that the query was executed, but there are no issues returned by them, which can be useful in some critical cases. However, that option is not the default one.

That said, the recommended approach to go in this case, would be narrowing the group of subscribed users, even by creating a new group just for the purpose of this subscription.

Hope it helps.

We've narrowed down the results ...creating a condition, but we need to apply different filters for different user groups(Reminders)

Do you have a solution for sending daily  Reminder for all reporters( about 5000 users in group) and SLA reminders(every 15 minutes) with issues that come close to a deadline for other groups  (about 20 groups of 20-50 users)

Do all those 5000 users have a Service Desk license?

Otherwise they won't be able to get results about SLAs...

The filter is based on the field SLA, but users can be either customers or agents.

 

It was just an example of what we need. The necessity is to send reminders, and, as you see the filter is working OK, just that the mail queue is getting stuck on a lot of junk issues that are not emails to be sent

Well, as long as it works, you may continue using it in the meantime, until you find a better alternative, as executing thousands of queries because of filter subscriptions every 15 minutes doesn't seem to be the most efficient way to go here.

Service Desk counts with Automation Rules which can be set to add an internal comment based on the remaining time, therefore sending a notification to the relevant Agent(s).

Another complementary way to keep track of SLAs would be creating a dashboard or queue ordered by SLA remaining time.

Hope it helps.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

275 views 3 11
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you