You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I've created an automation should make updates to the trigger issue and send an email only IF text within the comment meets certain jql criteria but instead...this automation is triggering on every comment made. How can i correct so that the updates & email only execute if the comment contains text "#weekly"?
The screenshot below is the second iteration of this automation...the first version did not include the branch. I added in attempt to fix the issue described above but didn't work.
The pound # symbol is one of the reserved characters for JQL, and according to this defect the documented way to search for such characters does not work: https://jira.atlassian.com/browse/JRACLOUD-75866
A work-around could be to trigger on all comment changes, and then try either an advanced compare condition or a regular expression to find the symbol in the latest comment. For example,
Kind regards,
Bill
Yes, this!
I was just about to add to my own answer that I used an Advanced Compare rather than a Condition with JQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @esther_turner
You cannot refine the trigger itself for Issue Commented so that the rule is triggered for only comments that contain certain text. The rule itself will be triggered for every comment added.
The best you can do is then add steps to limit the scope of the remaining activities.
The rule is triggered by a comment being added to an issue. The steps after the trigger are automatically applied to the issue that triggered the rule. You don't need the "For Current Issue" step at all.
If you remove that and try the rule again and it still isn't working as you expected, can you provide more details about what "not working" means? Also share with us the Audit Log information for the execution of the rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for the feedback! here's another version of the automation with slightly different structure but it creates the same result which is that an email is sent out every time a comment is added instead of every time a comment is added that contains "#weekly"
What i mean by 'not working' is as described above. I'm looking for a solution that will send an email only when a comment contains #weekly....is there another way to achieve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See @Bill Sheboy answer. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.