I am trying to limit the selection of the issue to only those that were created more than a defined amount time ago (say 1 hour).
I have inserted a JQL-condition (since Compare Condition doesn't have an option '>' or '<'):
{{#issue.created}}{{/}} < {{#now}}func=minusMinutes(60){{/now}}
The rule passed the validation however failed during an execution:
JQL CONDITION
No subsequent actions were performed since JQL condition did not pass due to error running JQL:Error in the JQL Query: The character '+' is a reserved JQL character. You must enclose it in a string or use the escape '\u002b' instead. (line 1, character 47), Error in the JQL Query: The character '+' is a reserved JQL character. You must enclose it in a string or use the escape '\u002b' instead. (line 1, character 46), Error in the JQL Query: The character '+' is a reserved JQL character. You must enclose it in a string or use the escape '\u002b' instead. (line 1, character 45), Error in the JQL Query: The character '+' is a reserved JQL character. You must enclose it in a string or use the escape '\u002b' instead. (line 1, character 48)
Am I doing it wrong?
Hi Andrey,
The best way to achieve this would be with a rule like this:
Hope that helps!
For more help, see our docs https://docs.codebarrel.io/automation/
Cheers,
Andreas
Not sure why using Compare Condition format since JIRA Automation allows normal JQL, so it should be simply
created < -1h
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.