Forums

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

How to assign subscription to assignee inside the group?

Alex Dokhtiar March 21, 2020

Hello there,

 

I need to send email notification once a day when "current date" = "date that was set in a custom field". Email should be sent only to those who are reporter OR assignee in particular task.

The only way to do it without using 3rd party is via subscription.

I have created JQL:

project = PM AND "Face to Face date" = startOfDay() AND (assignee = currentUser() OR reporter = currentUser())

If I assign an issue in that project, create Personal subscription - it works fine. I receive email only with issues assigned to myself or those where I stay as reporter.

BUT if I create a group (even if it's only me in there) - I don't receive the email. If I set "Email this filter, even if there are no issues found" to True - I receive empty email.

Why is that happening? And how can I create a subscription to a certain group and send emails only to assignee/reporter?

2 answers

1 accepted

0 votes
Answer accepted
Alex Dokhtiar April 3, 2020

Turns out that the issue was that filter was not public but set to private.

Strange thing that I didn't receive email even tho it was only me in group.

Anyway, if someone would face the issue - check filter privacy settings.

0 votes
Ste Wright
Community Champion
March 21, 2020

Hi @Alex Dokhtiar

I'm assuming you've saved a filter and setup a group as the subscription recipient - this is what I would check:

  • Confirm it's the right group name / users in User Management
  • Ensure the schedule is correct - especially if it's Cron
  • Select "Manage Subscriptions" and press "Run Now" against your filter to see if it sends you the correct email
  • Ensure the filter is shared with more than just yourself - at least with the group of users (as it's based on currentuser() - you could also share it with all logged in users)

^ Let me know if any of these resolve the issue.

The method above should work if you deselect to email if no issues are found - each user with at least one issue in the filter will receive the email.

Some alternatives are:

  • Visualise the data per user without notifications - such as on Confluence or a Dashboard
  • Push a notification through the issue - for example, you could set your notification scheme to include Reporter and Assignee, then use Project Automation to add a comment to an issue based on its existence in a JQL filter, pushing one email notification per issue to the Assignee / Reporter

Ste

Alex Dokhtiar March 23, 2020

Hi @Ste Wright , thanks for your response.

Well, I have checked that few times already and the thing is - if I create Personal subscription - I got expected email when press "Run now".

But if I create a group and put there myself only - I don't got email on "Run now" press. Actually I do, but only if have "Email this filter, even if there are no issues found" set to True.

So when subscription is assigned to group - my JQL doesn't seem to work and it returns 0 issue. While, again, if it's personal subscription - there is no problem and issues are found.

Strange thing that I am the only one in group and still receive nothing.

I believe it has something to do with groups itself or may be some kind of permission that I am not aware of.

P.S. I am Jira admin if that is useful information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events