Hi,
I wanted do the following:
Q: Is there a way to only send an email notification when a new items that meets that criteria?
If you want to use Jira 'filters' and 'subscriptions' then the simplest solution is to create a filter to capture the issues which meet the criteria and append a time condition to the query. e.g. If the criteria is component = widgets and you want to send notifications hourly you would have a query like
project = ABC and component = widgets and created >= -1h
This will only return submitted issues within the last hour.
Then create a subscription for this issue and use the advanced option for scheduling to set up a cron schedule to match the time criteria in your filter (in the example above that would be hourly). Add a group as recipients and uncheck the option to send a mail no no issues match the filter.
Note that you'll need 'Manage Group Filter Subscriptions' permissions to set this up.
In the above example, an email will be sent out if any new issues meet the notification criteria every hour.
Thanks for the reply. Is 'filters' and 'subscriptions' the best way to allow a user to get notifications?
Can I get the user to add themselves to the subscription? If so what's the easiest approach for them? Since I want to make it as simple as a mailing list where they put their email and they get an email of new updates but using the jira issues.
There are various options depending on your specific use-case. Are the notifications for issues across various projects or a single project? When you say for an issue 'submitted' do you mean 'created'? Or is submitted a workflow status? Can you give a bit more information.
The approach I outlined above would allow users to add a subscription to the filter for their own notification see: https://confluence.atlassian.com/jira064/receiving-search-results-via-email-720416706.html for details on this approach.
@Paul O thanks for the reply. Let me see if I can help clarify.
This is for a single specific project. Yes created. If an issue is created and it meets this filter criteria then it sends an email notification.
I'm essentially trying to replicate an mailing list subscription model. When a new issue is created that meets the filter criteria the subscriber gets an email instantly.
Hope that helps.
It looks like you're new here. Sign in or register to get started.