Forums

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

How to limit subscription send out only to assignees

Norman Ruta October 21, 2022

Hi,

Got a filter that has this simple JQL:

assignee in (currentUser()) order by created DESC

and it sends to everyone in selected group (jira-users) even if there are no assignments for a user. The user receives email saying that there are 0 issues. 

I would like to limit this behaviour so the email won't be sent unless there are some assignments but not necessarily by creating another group.

Is there any way to create a rule or automation for that?

Norman

2 answers

0 votes
Brant Schroeder
Community Champion
October 21, 2022

@Norman Ruta If your JQL is only assignee in (currentUser()) order by created DESC I would suggest changing it to assignee = currentUser() order by created DESC

0 votes
Trudy Claspill
Community Champion
October 21, 2022

Hello @Norman Ruta 

How are you currently getting the emails sent? Is this already an Automation Rule or are you using a Saved Filter?

With a subscription to a Saved Filter there is an option to send (or not send) the email when no issues are found. Have you tried unchecking that?

Screen Shot 2022-10-21 at 11.23.34 AM.png

Norman Ruta October 22, 2022

Hi @Trudy Claspill 

Thanks for your answer. For some reason I missed this setting. Unfortunately the Subscription was made by someone else and even though I have all permissions needed I can't change subscription. According to:

https://community.atlassian.com/t5/Jira-questions/How-do-I-delete-a-subscription-to-a-filter-when-the-filter-has/qaq-p/1324207

it's either a case for support or I need to ask Subscriber to change it or remove it.

Unless there is some other work around?

Trudy Claspill
Community Champion
October 22, 2022

It does not appear that administrators have the ability to modify subscriptions created by other users.

Admins can change the owner of a filter, which gives them the ability to make themselves an owner of the filter and modify the filter, but I don't think that gives them ownership of the subscriptions.

There was a change request to let admins manage filter subscriptions, but it was closed in 2021 as Won't Fix.

https://jira.atlassian.com/browse/JRACLOUD-73354

Norman Ruta October 24, 2022

@Trudy Claspill thanks for your answer. It is shame that admins cannot do anything with the Subscriptions made by a user. And the use case in a ticket you presented is even better. 

Anyway I know what steps I need to take.

Thank you!

Boris Berenberg - 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.
October 25, 2022

We make Notification Assistant for Jira which also allows project admins to configure custom notifications at the project level. Maybe this would be better for your environment instead of using filter subscriptions?

Suggest an answer

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

Atlassian Community Events