Hi,
I have a custom field with values 'Yes' and 'No'. In an issue, when this filed value is set to 'Yes', I want an email notification to be sent to a specific user or a group and the user or the group may not be watchers of the issue. I do not want to do this as a post function of a transition as the field is not related to any transition. How do I do it? Please help.
Thanks
Siri
Hello Siri,
Thank you for reaching out to Atlassian Community!
Reading the details you provided, I was able to create an automation that sends an email when the value of a field change.
For this automation, it’s necessary to use an add-on called Automation for Jira (there is a free version that allows 300 transitions every month).
In this case, I used the field assignee as an example:
Hope this helps!
Regards,
Angélica
Questions to Angélica Luz, would this add-on also work for custom fields value change (in my case custom fields are Secure Multi User) as well?
For example i've a secure custom fields "ROwner", "RObserver" when ever the value changes in custom fields above.. email has to be send out to Rowner & RObserver same like Assignee and reporter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In case of custom fields - you can try Raley Emails Notifications addon. Here's an article that explains how to send an email to dynamic destination that depends on a value in custom field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @MzM
Yes, the add-on works for any custom fields and not only system fields.
When you select the option "Field value changed" you will see the list with all custom fields:
Regards,
Angélica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Angélica Luz much appreciated for your inputs.
Though i got it fixed by other way via scriptrunner since my requirement is a bit tricky & complicated.. I achieved it via custom coding.
Ref ticket for persual -> https://community.atlassian.com/t5/Jira-questions/When-a-custom-field-is-updated-trigger-a-mail/qaq-p/1233308
It works perfectly as per the business requirement and it shoot email whenever ever value custom field change for priority issues.
Below are the steps:
Example
Dear User,
A Security Change Management has assigned/updated a High Priority Jira to you and requires your attention.
For more details, please refer to the link "$baseUrl/browse/${issue.key}"
<% if (mostRecentComment)
out << "Last comment: " << mostRecentComment
%>
Best Regards,
${issue.reporter?.displayName}
Hope this helps if anyone looking for similar requirement.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.