Hello Community,
I thought I would throw this out to the Atlassian Community hive mind to help me improve.
The problem
I have a JSM Cloud project that relies on an approval to be handled by a single user depending on the department that "owns" the request, e.g. HR, Legal, Ops.
Departments are listed in a cascade field, which has multiple child values underneath every department.
On creation of the request, the creator selects which department they are putting the request against.
Each Department has an owner. An active request needs to have an approval from the appropriate department owner that the creator selected.
Steps Taken
I have set up an automation rule that looks for the department value of a new request and assigns the appropriate department owner to approve.
Currently, I have an IF/ELSE conditional statement for each department option that the rule loops through. Unfortunately, the rule takes up to 10 seconds to process a run.
My Question
Can I make this more performant?
Thanks all for reading my question.