Hi Community,
我在进行如下自动化设置时出现了触发器报错。
我想要实现的自动化是可以每5分钟触发一次,自动化规则为当issue在某些状态(非完成状态)下,”Issue创建时长“字段自动输出{{issue.fields.创建日期.diff(now).days}};当issue在其他状态(完成状态)下,”Issue创建时长“字段自动输出{{issue.fields.创建日期.diff(issue.fields.解决日期).days}},请问要如何正确设置呢?
Hi there,
Developer from Automation here.
The problem you are running into is the conditions & actions you are using require an issue to be provided. A scheduled trigger without something like JQL to select particular issues has no issue in context to run those actions against, to get this to work you'll need to select "Run a JQL search and execute actions for each issue in the query." then come up with a particular search that returns issues.
Once your scheduled rule is actually finding issues to execute on then you can have actions and conditions related to that issue. Without that you are limited to actions and conditions that don't require a particular issue to exist such as log action, send webhook, etc.
If you require are still having issues then you can get in contact with support here: https://getsupport.atlassian.com/
Cheers.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.