Send mails by events

Hellow, 

On my workflow I trigger an event to send e-mail notifications.

I receive mails only if active on my profile "Notify me".

Is it a possibility that an admin activate this option for some groups of users?

Thanks 

1 answer

1 accepted

2 votes

Not without some coding.

JIRA does not have any flag for "notify me" on your profile.  (There is one to say "do not email me about changes I make myself", but that only applies when you are the one triggering the event).

So you'd need to code to add that flag, and then amend the notification system so that it destroys notifications for people who have set the flag.

Than you Nic, 

But how do I code the flag? Any tutorial? 

There are three ways to approach this

  1.  Hack the core user handling code to enable the flag, and then hack the core notification system to be aware of it.  I do not recommend that, as you'll be unsupported and need to repeat on every change or upgrade.
  2. Write an add-on that can add the flag for people to set, and write an add-on to send emails that you want to send (mostly replacing the notification system)
  3. Write an add-on that can add the flag, and then get one of the email add-ons (such as JEMH or JETI) that can send the email and potentially read your flag

For 2 and 3, start at https://developer.atlassian.com/jiradev/getting-started/getting-started-with-plugins2

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
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

414 views 79 11
Join discussion

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