The error doesn't actually affect the operation of the automation, but it raises an error, which sends me an email, which is annoying. I can turn off the notifications, but that means that if something else breaks, I don't get notified.
What I want to do is to clear the ObjectA attribute when ObjectA is empty on the issue or set ObjectA when it is set on the ticket.
Any suggestions?
Hi @C_ Derek Fields ,
I might not be catching on completely.
Can you add a condition to the automation to only fire if the custom field "Object A" is populated.
Perhaps you can add a screenshot of the automation, that tends to speed up the help.
br
Lisa
Here is a partial screen shot. I am using the "Create Object" action to create an Assets object.
If one of these fields from the issue is empty, A4J throws an error message. The object is created correctly and the rule continues on. However, I get a failure email notification. I tried using an {{if}} conditional, but that raises the same problem.
The root problem appears to be that the smart value returns an empty string instead of a null and that confuses the rest call when it tries to update the value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever find an answer to this situation?
I'm facing similar issues with empty strings versus null, and it's driving me up the wall.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Possible workarounds?
1) use validations in Jira to ensure the data is completely filled
2) Have a two step approach in the automations.
Step one: Create the object with the fields you know will always be populated
Step two: If field X is populated, then action "update object" to complete those attributes of the object.
Just an idea, have not tested it myself ;-)
/Lisa
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.