notification and custom field

Hello,

I have a problem. I have a custom field email. The user create a issue, he indicate his email via the custom field. I would like that JIRA sends a notification to the email address which is specified in the custom field email. How to make the notification is sent to this email?

Best regard,

Guis

8 answers

Good suggestion.

Add a text (< 255) custom field. Try to retrieve it's value into the groovy script (do some RND). Send the email to that email address using the script upon the create transition.

Renjith Pillai Community Champion Jan 29, 2013

Yes, that's the way.

Thank you for the answer. I have add the post script function and I use the script "send a custom email". But I indicate in the field "To issue fields" my custom field mail, a notification is send but the
notification is not sent to the person indicate in the custom field.

Why?

How to retrieve the value a custom field with a script groovy? What is a method?

Can you add it in the notification scheme for create issue event to send notification from the value picked up from the user-picker custom field?

Note: You may have to configure your custom field as user-picker type

Rahul

Thank you! But the user don't have account JIRA therefor I can't to use the user-picker custom field. How can I send a notification using a text custom field?
The field contains the email address.

Guis

Why don't you send the notification to the user's email address specified in his user account?

Because the user don't have a account!

if you don't wanna code your own...

https://marketplace.atlassian.com/plugins/com.metainf.jira.plugin.emailissue

will send mails to non-jira users

Thank you but the plugin is paid.

Didn't think of anonymous access. :)

In this case you will have to look for a custom field plugin. May be you will be able to develop a plugin, which takes an e-mail address as its input and emails the entire issue to that email address.

Hi Guis,

I am not sure if you have already solved this problem but at leat for others who stumble upon this check out this :

https://answers.atlassian.com/questions/45722/how-to-use-a-custom-user-picker-field-in-to-issue-fields-when-sending-a-custom-mail-with-script-runner

To find out ID values of your custom fields :

https://answers.atlassian.com/questions/102822/how-can-i-find-the-id-of-a-custom-field-in-jira-5

Finally the free plugin you need :

https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner

Hope this helps,

Cheers,

Baris

Use https://marketplace.atlassian.com/plugins/net.vacom.jirassimo/server/overview 

to achieve that. Destination can be dynamic and based on the content of your JIRA issue.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot