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

Hi,

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

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" 

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 (https://jamieechlin.atlassian.net/browse/GRV-370) which seems to cover this aspect. Does anyone no if this has been solved yet?

Greetings

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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

75 views 0 5
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