Created an automation which would prevent duplicating predefined set of tasks for the specific columns if we accidentally jumped on to the wrong workflow column ... Am able to prevent the duplication by using the following JQL :
Status was not ... before now()
Its only creating problem when for the first time the issue enters into the desired column where JQL is set and it doesn't let the Predefined tasks to load in the first instance .... the Following Error is shown
So I have to manually remove the JQL condition and then only my regular automation of loading the task will work for that column ..
Let me know what needs to be done as in one way its working for me by not duplicating the tasks but its creating an impediment to load the tasks to start with.....
Hi @Aamir_Aslam,
Try to use before -1m instead of before now().
Typically, executing a rule takes some time; now() at the time the rule is triggered and at the JQL check are different. The difference may be in milliseconds, but still.
Another way is to use before {{now.jiraDate}}:
status was not "XXX" before {{now.jiraDate}}
By default, now() returns value in date and time format: https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html
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.