Send custom email post-function - send to project role


I would like to send an email as post-function to project role named "Portfolio Manager". The only problem is that the name of this role contains the space character " ". I do not want to rename this role. It seems that custom email script uses space as delimiter for addressing the roles/groups and so on...

How can I solve this problem? I tried role:'Portfolio Manager' and 'role: Portfolio Manager' but I was unsuccessful.

See the screenshot below.

image2015-4-29 9:18:36.png


1 answer

1 accepted


Please try putting the role in quotes, so use:

role:"Portfolio Manager"

I tested that and it works for me.

It works. Thanks a lot!

One of my JIRA clients just upgraded their SR to the latest free version (3.1.4) and sending of custom emails to Role names with spaces is not working anymore even though it has quotation marks on it.


I'm pretty sure I tested this on a 4.x version. I'd suggest they try using the latest one compatible with their JIRA instance (they may want to use an evaluation licence to try it).

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,308 views 14 20
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