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.
Hi!
I am working on creating an automation that will create a comment when a user is mentioned. So far the automation is running, but it is checking EVERY COMMENT in the issue for the username. I only want it to check the most recent comment for my variable.
What is the JQL I could use to run my rule and only return my action when the username is commented in the MOST RECENT comment only.
hi @Leslie Fluri
Welcome to the community.
I would propose creating a SMART value to get the last comment and then process it later in your automation flow.
{{triggerIssue.comment.last.body}}
Let me know how it went for you and if you have any further questions.
Cheers,
Karim
Thank you @Karim ABO HASHISH !
I implemented that SMART value in the picture below and it seems to not be working - so I have a feeling I implemented it wrong - would you mind giving me your opinion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Leslie Fluri
Could you please try with Contains Regular Expression instead of contains (check below screenshot). Also use the account id only without any strings.
Let me know how it went for you.
Cheers,
Karim
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.
Glad it worked for you 🙂
Please mark the answer as accepted, so it would help other community members looking for a solution to a similar scenario.
Cheers,
Karim
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.