Hello,
Can anyone give me any pointers on how to create rules that chase tickets?
So I have setup a rule to run each evening at 9pm. Its looking for tickets that have sat in a particular status for over 1 week. It will then update the ticket with a comment.
The conditions it is looking for are as follows:
(Issue Fields Condition) Status = 'Fix in Test'
(JQL Condition) status changed TO "Fix in Test" before startOfDay(-7)
When I try and SAVE it, it errors with:
Error
- The rule has been configured with components that require issues to be provided by the trigger. You need to use the option to run JQL to provide issues. The following components require issues: JQL condition, Issue condition, Comment on issue
So I have to remove the (JQL Condition) and add that part into:
'Run a JQL search and execute actions for each issue in the query.' in the 'Scheduled Tab'
I have ticked the 'Only include issues that have changed since the last time this rule executed' box,
The automation now runs fine and does what i need it to. However the next day at 9pn it updates the same tickets with the same update again (even though they havent changed)
So it seems that running the schedule with JQL (that its forcing me to do) just updates everything it finds whether the rule ran on it last time or not. This warning looks to confirm that:
'Your automation rule will perform actions on all issues returned in the above query, which can't be undone. Before saving this rule, look through it carefully to make sure this is okay.'
Can anyone think of any other ways to do this?
Im currently running all this in a sandbox, so nothing is actually updating LIVE tickets.
Cheers
Phil