JETI - only email when condition is true?

One of my project admins is asking the following:

"Can we send a customized email when issues are marked as resolved, but only for issues with a certain component?"

We've purchased JETI, but I don't see any options to only send an email notification when a certain condition evaluates to true.

I suppose I can do this by having two separate transitions from my "In Progress" status to my "Resolved" status... each transition would be mutually exclusive... one transition for issues with component X, one transition for all the others.

That doesn't seem very scalable though (My workflows could get quite ugly quite fast for even a few conditional emails).

Is there a better way?

Thanks~!

3 answers

Hi, what Michael was referring above was the following:

- configure JETI Event notification for Issue Resolved event

- in the JETI Notification Event screen, you can set a JQL filter like "component = MyComponent". This will make sure the event is processed only for issues matching the JQL filter

- Assign the JETI notificaiton to your project via a Context

You may want to disable or adjust JIRA Project Notification Schemes.

Having done the above, when you execute the Resolve transition, the workflow fires Issue Resolved, JETI will check if the issue matches "component = MyComponent". If so, it sends out the email notification, otherwise not.

Hope this helps.

Tibor

Exactly... Just put another filter in yesterday cause developers were getting too many emails. I can't imagine how long that would have taken with only using JIRA's notification abilities.

Keep up the good work Tibor.

How are you invisioning the email to even be triggered? Via workflow? Time driven?

Regardless, in the JETI notification is a jsql filter that should allow you to define additional filters to apply to prevent this issue from being emailed out.

I was envisioning the email to be triggered by a workflow transition.

But, I only want emails to be sent for issues that match a certain criteria.

=-=-=-=-=

I'm looking in the "The Email This Issue Post Function Plugin" and I don't see any ability to add a JSQL filter.

Am I missing the option? I have JETI but I don't see the option to only send an email when a condition is true.

Thank you!

Sorry for the confusion. Where you are looking is where you choose which notification to trigger.

Then go to the JETI configuration... Notifications... Events...

Inside these events is there a jsql option. Give it a shot.

So, do I even have to configure a Workflow Transition Post function?

Or do I just go JETI > Notifications > Add Template > Edit the events for the template > Add an "Issue Resolved" event type > edit the JQL, and it will magically send emails when an issue resolved event is fired AND the issue matches the JQL?

Actually you can just use the Event Type. I spoke too soon about the post function.

You should create an 'auto' Transition that has your criteria in a set of Conditions.

https://answers.atlassian.com/questions/49747/what-is-your-most-valuable-jira-trick

You could have a field that indicated if the email was already sent to prevent it from re-entry.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

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...

22,843 views 2 7
Join discussion

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