Automatically Add Someone to Custom Field

I have a custom field called "Additional Watchers" for a project with Issue Level Security. 

 

Ideally I'd have it so if I add a comment and @mention someone, it will automatically add them to the Additional Watchers Custom field and also they would get the email from JIRA where I @mentioned them. 

 

Currently if someone isn't in this "additional watcher" field, they will not get an email period. The only way they would get an email is if I add them to that field and then mention them in a comment.

 

How would I set it up so when I mention someone the following happens (in order).

 

1) adds user to custom field

2) sends email out (now that the user will receive emails).

 

Thanks!

Patrick

1 answer

0 votes
Tayyab Bashir Community Champion Oct 26, 2017

Hi Patrick, 
When you mention someone in the comments using @mentions, a notification email is sent out to them automatically.

And each issue has the Watchers field, so why do you need to have the "Additional Watchers" field? 
If the purpose is to have the person mentioned in the comment be notified about any updates/changes in the future, then adding them in the default watchers field would work as well? 

Security levels would remain intact, as you would only be able to @mention someone who has the security clearance. 

I don't understand the need to add someone in additional watchers field and then go through the trouble of setting up email notifications for them separately? 

I have issue level security for a project where the end goal is that only group members, or watchers that group members have added have visibility to a task.

 

Based on issue level security rules, it doesn't seem as though I can make a rule where we can make security clearance contingent on the value of "watchers", but we can grant security clearance based on the value of a custom field (why I created "Additional Watchers".

 

If there is a way to grant access based on "watchers" versus a custom field, that would be awesome! No way I know of to do that though.

 

Thanks


Patrick

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,923 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot