When a customer creates a JIRA issue, I like to send out a notification to a set of specific project roles.
At this time, the "Issue Created" sends notification to a group of people for all issues whether internal or customer roles.
Similar to workflow post-function - If Customer, set issue security to Customer Access. I like to have a workflow post-function - If customer, fire Custom Event. - How do I custom the "If Customer" part?
I created a Custom Event "Customer Created Issue" using the "Issue Created" template, but how do I edit the event template to check for the customer role?
Is it possible to do "If Customer, fire notification to Managers"?
I also tried using workflow post-function - Comment issue from a Groovy Expression. But the check box says "Send "Issue Commented" notification " I wish to send my custom notification
Any ideas/suggestions is greatly appreciated.
First, I think you need to have another look at what events are. They are mostly fired by issue changes, but the important thing you need to understand is that there is only one event fired. It's not a case of firing notifications to people, events are fired by changes. The events are used by the notification system to trigger emails, but that's totally separate from the events.
>Is it possible to do "If Customer, fire notification to Managers"?
No, because it's "fire event". Notifications come later.
You could get part way there by selecting the manager as a user-picker and including that in the notification scheme. Or possibly use a customer select list instead.
There's another approache to doing what you want to do; Subvert the existing system - create post-functions that fire additional events. So, for example, the current "create issue" event would be followed by "my create issue custom event". You can then use the notification scheme to send emails to internal people on the "create issue", and to external people on the "my create issue custom event"
If you're going to do that, your extra event-send code could have "if X then don't send extra notification" type code at the top of it.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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