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?
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.
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.
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?
You should create an 'auto' Transition that has your criteria in a set of Conditions.
You could have a field that indicated if the email was already sent to prevent it from re-entry.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG