JIRA Notifications Query

Duncan DAVIES February 19, 2012

Hi

I have a question with configuring a Notification Scheme for a project. What we ideally want is for a user to be notified when they Create a Ticket, and when someone besides themselves comments on a ticket.

To get a notification on Creation, they need My Changes set to Notify Me, but this will also notify them when they comment themslvles on a ticket, which we do not want!

Is there any way to get around this issue without editing the velocity templates individually?

Thanks!

4 answers

1 accepted

0 votes
Answer accepted
Duncan DAVIES March 5, 2012

I managed to fix this with a Groovey Script running on the Issue Creation Workflow step

JamieA
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.
March 5, 2012

Can you say a bit more about what the script does? How does it distinguish between issues created by email and others?

Duncan DAVIES March 6, 2012

I disabled the Creation Notification, and created a Groovey script that sends the email. I'm not 100% sure why it doesn't send when I create via the Web interface, but it does so i'm happy with it!

0 votes
JamieA
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.
February 19, 2012

Not sure if this is your use case, but I think the hole in this "email me my own changes" is when people create issues through email. I think that that should disregard your preference, because you will nearly always want to know the issue key and link for the issue that you created.

Nic Brough -Adaptavist-
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.
February 19, 2012

Yes, that's the hole I keep forgetting - that's when the "email me on my own changes" flag should be ignored, and the use-case for it isn't complex. I've patched around it before as in my answer above - a quick post-function that sent email outside the regular notification scheme...

Duncan DAVIES February 20, 2012

Yeah, this is where my hole comes in. Do you guys know of any plugins that will always notify the reporter when they create an issue via email? I've been searching through the plugin exchange but havn't come accross any

0 votes
Nic Brough -Adaptavist-
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.
February 19, 2012

No, the "notify me on my changes" is a flat all-or-nothing flag - you can either get the notes on your own changes, or supress them all. It wouldn't make much sense to do it on a type basis (you'd have to build it into the actual notification schemes, which becomes complex and inflexible because you couldn't give the option ot the individual users)

You can't do it at a .vm level either - that's too late, the .vms are processed while building the emails, which means the decision to send it has already been made.

I think the only way around it would be to create or find a plugin that provides a hard "email the reporter, irrespective of their choice to not send email" function and add it to the "create" transition...

0 votes
Kapil Bolli
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.
February 19, 2012

Hello Duncan,

In JIRA , you can stop(disable) Notifying your changes Under ADministration>>GlobalSettings>>UserDefaults>> Notify users of their own changes? by selecting "NO"

Using JIRA 's default notifications, you can get email notifications on creations/commenting on isssue

Hope this helps you.

Thanks & Regards

Kapil


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events