How can I send a custom email to addresses in a User Picker (multiple users) Scripted Field?

Jordan Klein March 4, 2019

I made a Scripted Field called Linked Issue Assignees & Reporters.

It stores multiple assignee and reporter user objects from certain linked issues.

I would like to set up a Scriptrunner listener to send emails specifically to the Users contained in this scripted field on certain events, but I cannot populate the "To Issue Fields" section of the custom email form with the field.

 

ToField.PNG

While trying to troubleshoot, I noticed that my scripted field shows up with a "Multi User Picker Searcher" search template when I look at it from the Custom Fields list, but shows up with a "Free Text Searcher" search template when I look from the Scripted Fields list.

Note that this functionality works for me when trying with a non-scripted User Picker (multiple users) custom field, but that has a different Search Template called "User Picker & Group Searcher"

 

EDIT: Question has been live for a week, can someone from Adaptavist support? Or something better suited for a Scriptrunner support ticket?

@adammarkham @Aidan Derossett [Adaptavist] @Jon Bevan _Adaptavist_ @Jon Mort [Adaptavist] @Ravi Sagar _Sparxsys_ @Stephen Cheesley _Adaptavist_ @Thanos Batagiannis [Adaptavist] 

 

0 answers

Suggest an answer

Log in or Sign up to answer