It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fire an event that can be processed by the listeners

Sigrid Schoepel Sep 18, 2015

The title of my question is a post-function reference here:


But, I don't have that post-function. Where is it?

And, does it work on custom fields with usernames in them to send an email...when I finally have the post function?

1 answer

0 votes
Nic Brough [Adaptavist] Community Leader Sep 18, 2015

There are five post-functions added to every transition automatically and they cannot be removed.  One of them is "fire an event".  Have a look at your post-functions and you'll see it there.  You will not be able to remove it either, all you can do is change the event to another.

Yes, it works on custom fields - you can put in a field like "cc these users", make it a user picker, and then refer directly in the notification scheme.

Sigrid Schoepel Sep 18, 2015

Sorry, I'm not getting it. I see the generic event. I can change it to "Issue Updated." Now I have to create a listener event?

Nic Brough [Adaptavist] Community Leader Sep 18, 2015

No. There's no such thing as a "listener event". There are events, and listeners. Listeners listen for events and do things when they catch them. There is a listener built into JIRA that listens for all events and generates emails based on rules given to it in a notification scheme. I think this question is moving into "what are you trying to achieve?" territory - forget what JIRA is doing internally for the moment, tell us what you want to happen.

Sigrid Schoepel Sep 18, 2015

Great, it might not be as complicated as I'm thinking it could be. I have two custom user fields to identify reviewers. When a "ready for review" transition is chosen in the workflow (and after the two users are added in the window), I would like to have JIRA email the people in the custom field that they were ID in an issue.

Nic Brough [Adaptavist] Community Leader Sep 18, 2015

Sounds like you're nearly there! I assume your custom user fields are either single or multi user picker fields (because they hold users as objects, which is what JIRA needs to be able to send email). The next bit is to look at the event fired by the "ready for review" transition. It doesn't really matter what event it is, but I would think about adding a new event type dedicated for this (so that you differentiate it from all the others and not share it). One last step - go to the notification scheme and find the event you have chosen for the post function. Add a recipient to that event and when it asks you who, look for "user custom field". That should offer you both of your reviewer fields, so add them. That should be it!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

838 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you