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.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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