Script runner: 'send a custom email" to user group custom field


I would like to send an email with the built-in script function 'Send a custom email'. In the "to Issue field" I want to use a custom field which is of type user group  (single selection). I inserted the issue id customfield_10536, but the respective users are not added to the recipient list.

What do I have to insert into the "To issue field" for a custom user group field?

Thanks in advance!

2 answers

This widget could not be displayed.

I've tried with User Picker field (multiple users) and it is working. Can I have more details about the custom field you are using?

Did you entered group name or custom field id ? to the "to issue field" 

This widget could not be displayed.

I used a custom field of type Group Picker (single group) and as mentioned inserted the id of this custom field. According to the description of script-runner, this should be possible:

Who to send the email to - valid issue fields such as assignee, reporter, projectLead, componentLead, watchers, user or user group custom fields

But I don't know what to insert in the "To issue field"...

I detected a JIRA issue ( which seems to cover this aspect. Does anyone no if this has been solved yet?


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

84 views 0 1
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