Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Jira Automation Rule to get all comments for all issues on a project that occurred in the last day?

I need an Automation Rule in Jira Cloud to get all comments for all issues on a project that occurred in the last day.

I can see how to get all comments for one issue, but not how to get all comments that occurred in the last day.

Anyone have any suggestions on that?

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 30, 2023

Hello @Cash Coyne 

Jira does not have a native function to search for issues (or comments) based on the date the comment was made. There are third party apps that extends JQL capabilities for that.

Do you have or are you willing to consider a third party app to extend JQL capabilities for this?

Otherwise I think the only way to do this would be to retrieve all the issues based on their last Updated timestamp, then for each one search through their comments to find if any were made in the last day.

I anticipated that I'd have to search thru the comments to examine the date, but I couldn't figure out how to do that, so that's where I'm stuck.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 30, 2023

I haven't quite figured it out either.

I tried using a Schedule trigger to retrieve the issues, and then a For Each to step through the comments and print their creation dates. I thought this would step through the comments of each issue, printing out the creation dates for the comments of each issue in one log entry, the the comment creation dates for the next issue in another log entry and so on, but it printed all the comment creation dates in one log entry.

Screenshot 2023-10-30 at 2.43.47 PM.png

Suggest an answer

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

Atlassian Community Events