Forums

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

Defining "Only include issues that have changed since the last time this rule executed"

Richard Stamp
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!
November 25, 2022

Morning all

I'm attempting to setup an automation which executes a JQL search and edits tasks accordingly (flags/unflags issues based on set criteria). This works fine, this isn't the issue. 

Execution time of this Automation is ~500, so obviously I want to bring that down - the checkbox on the rule states

"Only include issues that have changed since the last time this rule executed"

but it doesn't seem to catch everything, but does run significantly faster. Does anyone know the exact definition of "Issue Changed" in this context? 

1 answer

1 accepted

3 votes
Answer accepted
Nic Brough -Adaptavist-
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 Leaders.
November 25, 2022

It looks at the "updated" date/time on the issue. 

That is set by any action on the issue except ranking and being linked to by other issues (I can't remember if linking from an issue to another changes the updated date on the issue you create the link from, but it does not affect the issue being linked to).  Attaching a file, edit, transition, comment, etc, all set the updated date.

Richard Stamp
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!
November 25, 2022

Excellent, thanks. I was worried it was monitoring specific fields and would therefore miss certain custom fields we use. 

Thanks for the concise answer!

Nic Brough -Adaptavist-
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 Leaders.
November 25, 2022

np.  I confess I don't know the exact rules about which changes do not hit the "updated" date/time, but I do know that any edit of a custom field always counts as an update (except for rank and sprint, which I think of as system fields, despite them being implemented as custom fields)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events