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 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
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

345 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