Notifications scheme generic event

John Alton July 14, 2015

This question is in reference to Atlassian Documentation: Creating a Notification Scheme

One of the Events that can trigger a notification in a Notification Scheme is a "Generic Event". Could someone please provide more information about what qualifies as a "generic event"? 

thanks,
john  

4 answers

1 accepted

7 votes
Answer accepted
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 14, 2015

You can use it for anything you want to send a notification for. You put the event in the post function and when it fires the email is sent.  You can create any number of events for special transitions and use them. The generic one is there for when you want notification sent after a transition, but don't want to create a special one. I usually set it up in the notification scheme to notify the current assignee, watchers, and reporter. 

John Alton July 14, 2015

hey @Joe Pitt - So it sounds like -- by default -- no events use the "generic event" out-of-the-box. It's here to use if/when I create a transition and I want it to trigger a notification. Is that about the size of it? thanks, John

Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 14, 2015

No, as Pedro says below, any new transition you create will use it.

John Alton July 14, 2015

@Joe Pitt - Gotcha. Thanks!

Like Daria H_ likes this
4 votes
K_ Yamamoto
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2017

As other answers say, "Generic Event" stands for any event from post function.

 

The exact nature of this event depends on the workflow transition post function(s) which invoke it. As with custom events, you can use the generic event to generate an email notification (or invoke a listener) from a particular workflow transition's post function (see Working with workflows).

Ref. Adding a custom event

 

Using a post function to send email notifications

Use the 'Fire an event that can be processed by the listeners' post function to fire the 'Generic Event', which is a built-in JIRA Service Desk event that can be used to trigger the sending of email notifications after a particular transition is executed.

Alternatively, you could fire a custom event that you've created specifically for this transition.

When a transition is performed, JIRA Service Desk will:

  • Look up the notification scheme associated with the issue's project and identify the users associated with the fired event;
  • Send an email notification to each user.

 

Example: Using a post function to fire the Generic Event to send email notifications:

  1. Create or edit your transition.
  2. Click the transition's Post Functions tab and edit the 'Fire an event that can be processed by the listeners' post function.
  3. Select Generic Event from the list of events.

Ref. JIRA Service Desk: Advanced workflow configuration

4 votes
Pedro Cora
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2015

Generic events the events used in JIRA workflows by default. They are similar to Issue Updated. But what qualifies as Generic Event will be up to your workflow configuration. wink

-- Pedro

 

John Alton July 14, 2015

thanks, @Pedro Cora [Atlassian]

John Alton July 14, 2015

@Pedro Cora [Atlassian] - Joe Pitt (above) just provided the missing link (for my brain / understanding). Thanks! John

2 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 14, 2015

The circular answer is "any event that isn't a non-generic event".  The only thing that fires them is post-functions on transitions though.

John Alton July 14, 2015

hey @Nic Brough [Adaptavist] - So (just to make sure I understand)... This is a kind of placeholder notification I could use to generate notifications if/when I want a specific transition to trigger notification? thanks, John

John Alton July 14, 2015

@Nic Brough [Adaptavist] - Joe Pitt and Pedro Cora (above) just provided the missing link (for my brain / understanding). Thanks! John

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 14, 2015

No. It's a default event that goes in when you add a new transition. If you don't change it to fire another event, then it will contiue to fire the generics

Like # people like this

Suggest an answer

Log in or Sign up to answer