Forums

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

Error on Automation rule when trigger is schedule

Stuart Harris November 23, 2021

I have set up an automation rule to copy the Fix version to a new custom field, when I get this up with Manual execution on an individual ticket it works as expected when I try and run it on all tickets from a team at a schedule time I get this error tempsnip.png

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: Issue condition, Edit issue

1 answer

0 votes
Bill Sheboy
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 23, 2021

Hi @Stuart Harris 

If you review that error, it says that the rule needs issue for the conditions and edit.  A scheduled trigger can be used with or without JQL.

Please write some JQL to identify the issues you want to check/update, and then add that to the trigger.  With that JQL in the trigger, also note this option:

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

Decide if you want the rule to check all issues or only those updated after the last rule run.

 

Kind regards,
Bill

Stuart Harris November 24, 2021

I want to run the rule once and affects all tickets, 

I think I have it thanks, I jus used the same conditions in the JQL and its allowed me to save it. 

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events