Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,360
Community Members
 
Community Events
184
Community Groups

Run an automation for a username search - mention in last comment

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. 

1 answer

1 accepted

1 vote
Answer accepted
Karim ABO HASHISH
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2023

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.

2023-05-23_08-46-26.png

Karim ABO HASHISH
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2023

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.

tuiEnm1cw1.png

Let me know how it went for you.

Cheers,

Karim

I believe that worked - thank you very much for the help!!

Karim ABO HASHISH
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2023

hi @Leslie Fluri 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events