Forums

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

Send Notification to only assignee based on custom JQL?

Sid
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 21, 2018

Can we can a email notification sent to all the assignee if there are no updates for n number of days for a custom JQL query? Can we use script runner to solve this? Subscription to filter doesn't help much.

 

2 answers

1 accepted

1 vote
Answer accepted
Gundlupet Sreenidhi
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 21, 2018

Hi,

We have implemented a similar solution using a free version of Automation Tools for JIRA. 

You can create a custom JQL and add a comment to the issues thats runs as a cron job. 

The notification is sent out to all watchers of the issue. 

The free version does not support emails directly - so commenting is our workaround. 

If you get the paid version, you can send emails as well.

 

Free Version: https://marketplace.atlassian.com/apps/1216336/automation-tools-for-jira-lite?hosting=server&tab=overview

Paid Version: https://marketplace.atlassian.com/apps/1216194/automation-tools-for-jira?hosting=server&tab=overview

 

Another Similar plugin: Automation Lite for Jira

Free Version: https://marketplace.atlassian.com/apps/1215670/automation-lite-for-jira-cloud?hosting=cloud&tab=overview

 

 

Sid
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 22, 2018

Hi @Gundlupet Sreenidhi

Thanks for your answer, I will check those plugins and see if I can implement. 

 

thanks

Sid
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 22, 2018

Hi @Gundlupet Sreenidhi, I have installed Automation Lite for JIRA, but I have a JQl that has 20 different assignees, the email should be sent to the assignee where his issues are not updated. but should not send to rest. Should be create multiple cron jobs for all the Assignees ?

Gundlupet Sreenidhi
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 22, 2018

Hi @Sid

The cron job is just to define when the task needs to run. 

Example: Every morning at 8:00 am.

So, if you would like to run it multiple times, then you might need to create multiple cron jobs. 

There are ways where you can combine multiple cron jobs into one with advanced settings. 

You can learn about and test your cron here: https://crontab.guru/

As mentioned earlier - the lite version does not allow emails - however it does allow commenting. Adding a comment sends a notification to assignees(as well as all watchers). 

If you would like to implement emails only, you might have to get the paid version.

Sid
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 22, 2018
1 vote
Bastian Stehmann
Community Champion
October 21, 2018

Hi,

 

why does a JQL Filter with a Subscription not work for you?

If you just filter for current user and update date, it should give you what you are describing.

Gundlupet Sreenidhi
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 21, 2018

Hi @Bastian Stehmann

JQL filter subscriptions are more for end users go subscribe according to their needs. It doesn't really help build an automated notification system.

For example, consider having an approval process. When an issue is sent for approval but you have no response within a specific time frame - it would be useful to send a reminder notification for the pending approval.Yes, each person in the approval chain could create their own JQL filter for subscribing the issues - but this becomes a painful task (and a mindset change) in huge organizations to monitor and make sure the filter is created.

Having a notification system brings the responsibility back to the JIRA administrators who can easily create these rules and apply to all users more easily and efficiently. 

Like Tobias Mucke likes this
Bastian Stehmann
Community Champion
October 21, 2018

Hi @Gundlupet Sreenidhi, i agree that for some cases a notification system may be better than a subscription.

But I do not see that it is required for what @Sid wants to do.

And by the way, not everyone has to do the subscription.

you can also add a group, and then everyone just gets his assigned issues, if the filter is right. 

Sid
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 22, 2018

Hi @Bastian Stehmann, As Sreenidhi mentioned I need same functionality. As he mentioned the subcription is for end users  

Suggest an answer

Log in or Sign up to answer