Notifications for users in a project role on a specific project

Hi all,

I've got the following scenario:

I want to notify users within a specifc role on a specific project that an issue has been created. We've changed email systems at work so where we previously had the default assignee as a user with the group mailing address (so everyone in the project team got notified) we can no longer do that [until a fix is found].

Let me explain by way of an example:

I want to notify users of Project A in a Role A that a new issue has been created. So I created a notification scheme specifically for Project A where Role A is notified. This is a generic project role so it is used by Project A, B, C, D, etc.

Unfortunately this setup notified the users of Role A in every project it is used. This seems kind of illogical to me. Surely the idea of assinging a user to a specific project role for a specific project, and making sure that project has a notification scheme that is also specific to that project means that only the users in that role, for that project and that notification scheme should notified?

Any solutions to my problem would be welcome. For the time being I've just used the Specific User field, but isn't the most elgant or managable solution.

2 answers

1 accepted

1 votes

I'm not quite sure what is wrong here. It is complex, but it is very logical, and it's doing exactly what it should do.

Your notification scheme says "notify users in role A when issues in the project are created". Note that it does NOT say "in project A", it really does just say "users in role A get created mails"

If project A is then configured to use that scheme, it will send create mails to people who are currently in role A in that project.

It really doesn't sound right that it's notified everyone in Role A for other projects - are you saying that "issue 123 created in project A" has gone to a person in role A in project B (and they are definitely NOT in role A for project A)?

Also, have you mixed up roles and groups? And are you using groups in roles in project A, could that be triggering the mails?

AHA!! Nic you've done it again

Also, have you mixed up roles and groups? And are you using groups in roles in project A, could that be triggering the mails?

Yes, the problem is that the 'jira-users' group, which everyone is part of seems to be assigned to all project roles.

Now you've said it I feel foolish but it isn't until someone points it out do you realise these stupid mistakes.

So now I've looked this I think it should work, as long as I removed the 'jira-users' group from Role A, in the permission scheme created for and only used by Project A. Does that sound right to you?

Yes, I think just removing the jira-users group from the role will fix it.

The cross-project mailing made me suspect it was a simple group usage lurking - I've lost count of the number of times I've kicked myself for forgetting that groups can be added to roles as well as individuals...

Thanks Nic, much appreciated as always. As soon as you said it I knew that was what the issue was - this is wwhy I like Atlassian Answers!

Is this still valid for the last releases of Jira? 

I cannot assign a group to a project role. Seems like it was removed.

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 ...

3,042 views 13 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