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

3 votes
Accepted answer


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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,076 views 4 9
Read article

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