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~!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually you can just use the Event Type. I spoke too soon about the post function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.