Automatically notify Assignee/Reporter about an issue via an email

I am using the Automation plugin as a way to try and keep our issues up to date and on track.

One use case is chasing overdue issues.

On any matching issues I have it configured so that:

  1. A label (overdue-issues) is added
  2. A custom event (called Overdue-Event) is triggered
  3. A comment is added

There are two issues with step 2 and 3:

2. With the custom event the email template that is triggered is very basic and isn't inferring to the issue being overdue. There is no easy way to create a new email template without having to mess with the filesystem.

3. In the comment you can put $reporter, but this outputs "name.surname [ID-XXXX]" in the comment and it's not working as a @mention to trigger a notification. Also it would have been good to be able to mention the assignee as well.

Things I considered but would like to avoid:

  • Paid plugin called Notification Assistant  
  • Sending a comment notification which would notify all the watchers.
  • Writing my own application to use the API to execute these type of tasks
  • Learning JAVA/Groovy and the JIRA API in order to write my own plugin/script

 

Does anyone have any suggestions/workarounds for a self hosted JIRA instance?

2 answers

Looking further into the standard email notification templates I can see that if the Automator plugin was triggering a changelog, the email should actually give more information regarding what's changed. However I can only assume that the emails don't contain any of the changelogs because they are executed in different threads. ================ atlassian-jira/WEB-INF/classes/templates/email/html/issueupdated.vm ... #if ($changelog) #rowWrapperNormal("#parse('templates/email/html/includes/fields/changelog.vm')" '' 'wrapper-special-margin') #end ... ================

3. In the comment you can put $reporter, but this outputs "name.surname [ID-XXXX]" in the comment and it's not working as a @mention to trigger a notification

Looks as if I came a bit closer to what I am looking for but there is something else that is now missing from the Automation plugin

So I have created a comment issue action that would fire when it finds overdue issues and I am getting the usernames and output them as a mention.

The issue now is that the below doesn't trigger a mention notification

COMMENT ISSUE ACTION

[~$issue.getAssigneeId()], 
This $issue.getIssueTypeObject().getName() $issue.getKey() is now overdue! 
Please liaise with [~$issue.getReporterId()] and agree to a different date or expedite the issue.

Comment VisibilityViewable by All Users

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,605 views 18 21
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