Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible fire custom events on transitions | Jira Cloud

Michael Zangirolami June 25, 2020

Goodmorning JIRA Gurus,
I'm a developer and I'm looking to implement Jira Service Desk on behalf of the company where I work.

I use Jira Cloud and I created a "Service Request" project, to which I assigned my own custom workflow.
I need to send an email to the ticket reporter for a change of workflow status.

To do this, after having read up on this guide: https://confluence.atlassian.com/adminjiracloud/configure-email-notifications-for-a-custom-event-979422140.html
I tried to reproduce the passages, in order to generate a "Custom Event", which would allow me to send an email to a certain status change, on a transition.

Unfortunately, however, I cannot in any way send an email to anyone.
The steps taken by me are:

1.0) Settings > System :: ADVANCED :: Events
1.1) At the bottom of the page: "Add New Event" => Name: "My Custom Event"; Description: "My custom event description"; Template: "Generic Event" => Add

2.0) Settings > Issues :: ISSUE ATTRIBUTES :: Notification schemes
2.1) Add notification scheme > Name: "My Custom Notification Scheme"; Description: "My custom notification scheme description" => Add
2.2) Click "Add" action on "My Custom Event"
2.3) Event: "My Custom Event"; Notification to assigne: "Reporter" => Add

3.0) domain.atlassian.net/secure/BrowseProjects.jspa > My Service Desk Project > Project Settings > Notifications :: Actions :: Use a different scheme
3.1) Scheme: "My Custom Notification Scheme" => Associate

4.0) domain.atlassian.net/secure/BrowseProjects.jspa > My Service Desk Project > Project Settings > Workflows > Switch Scheme :: Scheme: "My Custom Scheme" => Associate

5.0) Settings > Issues :: WORKFLOWS :: Workflows
5.1) Click "Edit" on my Workflow
5.2) Click on my Transition
5.3) Post Functions > Edit my "Fire Event" > Event: "My Custom Event" :: Update
5.4) Result: Fire a My Custom Event event that can be processed by the listeners.
5.5) Click on "Publish Draft" > Publish.

6.0) Create a ticket via the Portal with a personal email (Gmail)
6.1) Enter via Jira panel in the new ticket
6.2) Assigne the ticket to me
6.3) Move the workflow status to "Close", passing by the transition that should fire my custom event

7.0) Waiting an email on the reporter gmail account ( forever ): )


What am I doing wrong? What should be the email template of a "Generic Event"? I haven't found it anywhere.
I made 1000 attempts, read 100 guides and 20 forum posts but I can't receive any email triggered by the event...

Thanks in advance,
Michael

4 answers

1 accepted

4 votes
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 30, 2020

Hello Michael,

Thank you for reaching out to Atlassian Community and thank you for all the details.

I understand that you would like to send a notification for a custom event and you followed the correct steps.

The notification scheme and custom events are for internal users because it generates a system notification that only licensed users receive.

Since you created a ticket in the customer portal and any reporter of a Jira Service Desk project is considered as a customer, it's expected that the notification will not be sent to the reporter.

With that said, this custom event would only work for the assignee or watchers because they are internal users.

The notifications that customers receive are available in Project settings > Customer notifications. If you want them to receive a different notification, then the best option is to use the automation to fire this event.

Regards,
Angélica

0 votes
Michael Zangirolami July 1, 2020

Hi Angélica,

all clear, I had this doubt while making the various attempts, thank you very much for clarifying.

 

Thanks Andy for the advice, I will keep that in mind in the future!

 

Have a good day,

Michael

0 votes
Michael Zangirolami June 29, 2020

Nobody can help me? What i am doing wrong?

Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 30, 2020

Hi Michael,

I believe Angelica's response is the correct one here.  I hope that helps. 

On a side note, I just wanted to let you know that your previous two answers to this question can actual hurt the chances that your question will be answered. A number of people that frequently answer questions in Community will specifically look for questions that are unanswered.  Your previous two responses make this question appear as if it already has an answer, because technically it does.  But reading your responses it was clear that you were just seeking help for this question still.

Just wanted to let you know.

Andy

Like # people like this
0 votes
Michael Zangirolami June 26, 2020

Can someone help me, please?

Thanks in advance.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events