Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with a Cron expression

rob_brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 7, 2026

I've inherited a Jira instance as an IT ticketing platform, and trying to kick some bits into a better place as an interim.

One of which is adding a scheduled reminder for when tickets haven't been touched for a few hours.

Principle logic is straight forward enough:

When: Scheduled

Using Cron: 0 0 10-16 ? * MON-FRI

Then: Add comment to work item

Which 'should' if 4 different cron generators are to be believed, trigger between Mondays and Fridays at the hours of 10:00, 11:00, 12:00, 13:00, 14:00, 15:00 & 16:00

Unfortunately, it's not working, and I'm at a loss. It validates fine in the rule builder, and currently tells me 7 work items found will meet the criteria. It just never seems to actually work.

Any suggestions welcomed!

2 answers

1 accepted

3 votes
Answer accepted
Marc -Devoteam-
Community Champion
January 7, 2026

Hi @rob_brown 

Your JQL finds 6 issues, but you also have the checkbox enabled: "Only include work items that have changed since the last time this rule executed"

This means the JQL finds 6 issues, that are conform the search query, but if those issues have not been touched (updated) since the last run of the rule, these issues are skipped.

If you want all issues to be executed on, disable this checkbox.

rob_brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 7, 2026

Lordy - I just wasn't seeing that at all. Talk about forests and trees!

Tested and working. Thanks!

Like # people like this
1 vote
Staffan Redelius
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 7, 2026

Hi @rob_brown and welcome!

I assume you are using Jira Automation to fire the CRON job?

Please paste a screenshot of your rule so it is easier for us to propose a solution (mask any sensitive data if needed). And also please add any information from the log for the automation.

Best regards,
/Staffan

rob_brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 7, 2026

I thought this was pretty cookie-cutter - but I'm obviously missing something or doing something wrong - just can't put my finger on what.

 

Screenshot 2026-01-07 140418.pngScreenshot 2026-01-07 140502.png

Like Susan Waldrip likes this
rob_brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 7, 2026

I should note that when I validate the query, it thinks there are 7 work items that match - but yet the audit log shows nothing actually happening!

Screenshot 2026-01-07 140811.png

 

Screenshot 2026-01-07 140927.png

Staffan Redelius
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 7, 2026

Hi,

It looks like you are using a smartvalue here: 

Skärmbild 2026-01-07 152306.pngIt doesn't look like it is the correct syntax if you are looking for the status "Waiting for 3rd party" it should be {{issue.status.name}} but it might be easier to add it to the JQL in the Cron.

I did a short test in my own sandbox configuring a rule that looks like this and it seems to do what you described (i set the JQL to just update Epics that are not done just to not mess up my installation).

I have not added the "send email" but that can easily be added.

Skärmbild 2026-01-07 163440.png

Let me know if this helps!

Best regards,
/Staffan

rob_brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 7, 2026

Aah yes, I'd tried that as well - here's the reverted version:

Screenshot 2026-01-07 155246.png

As you can see, it thinks there's 6 work items found that it'll apply to - but yet when manually running it, the audit log comes back with nothing:

Screenshot 2026-01-07 155410.png

Suggest an answer

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

Atlassian Community Events