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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

52 views 0 5
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