jira email notification on only some status changes

In our JIRA project our workflow is wide open; an issue can transition from any status to any other status. We prefer to not lock this down with transition rules at this time.

We want to notify the Reporter of the issue when it moves to only a few of these statuses.

We were initially set up with a default notification scheme that included the default JIRA events for Issue Closed and Issue Reopened.

I cleared the notifications to Reporter on all other events except these two. After that, the Reporter received zero notifications, not even for the two status changes.

I found additional articles that talked about the Generic Event notification. When I added Reporter to that event, then Reporter got notifications for all the status transitions.

I've read about creating custom notification events, and the Post Functions configuration for transitions. This seems to be telling me I have to have defined transition rules between the statuses in order to include custom notifications in the Post Functions. We don't want to restrict transitions between statuses.

Is the only solution available to me to add transition rules to represent all possible transitions between statuses, just so I can trigger notifications on a change to 2 out of 7 statues?

 

Thanks!

1 answer

You first want to look at the post actions for your "Close" and "Reopen" transitions and make sure they are emitting those specific events, and not the Generic event.  If you built the transitions yourself, the default is the Generic event.

Thank you, but that does not address the question I asked. There are NO transition rules in our workflow, so yes the Generic event is what would be used at this point. To reiterate my question: Is the only solution available to me to add transition rules to represent all possible transitions between statuses, just so I can trigger notifications on a change to 2 out of 7 statues? It appears that custom events for notifications have to be set up in transition Post Functions, and transitions require definition of the From and To statuses. It appears that we can't set up an notifications event based on just the To statuses. Have I misunderstood? Thanks!!

I guess I don't understand; I assumed that "wide open" meant that there was a transition between every status to every other status such that your status nodes form a fully connected graph. As a best practice, you'd re-use each transition To a status such that you use the same transition From every other status. In that case, the single transition that represents all entries To "Closed" needs to emit a "Close Issue" event. However, as I look at it, now I assume you used the "allow all statuses to transition to this status" checkbox for "Closed", at which point it should have created a single "All-to-Closed" transition. That transition is the one you would want to change from emitting a "Generic Event" in its post-functions to emitting an "Issue Closed" event.

Note that it appears you can only see/select the "All-to-Closed" transition in the diagram view.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

281 views 3 11
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you