We are using Automation for Jira (server) and have a lot of tasks that get created every quarter via cron - like this:
every 0 0 6 10 7 ?
Then Create
a new Task
in project SYS
which has some fields pre-filled, the issues are with:
Client which is of Select List (multiple choices) type or
Environment which is of Database Picker Custom Field type.
For Client we have selected the value which it should fill, while for Environment we use the more options field with a JSON like this
{
"fields": {
"customfield_11300" : [ "11376" ]
}
}Most of the tasks get created correctly but some have totally wrong values for the two fields mentioned above all while the other fields like Description are correct.
Interesting thing is that the wrong values in two fields are correlated and not totally random. Could this happen as the rules are ran at the same time and somehow it reuses parts of already executed rules?
How would I troubleshoot this behaviour? I've seen suggestions of adding a debug to the automation (https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/) in the audit log there is only a message that Issues were created successfully...