Atlassian could have fired her for no reason and had no problem.
No reason stated is trickier if the employee shows a timeline/cause and effect then gets discovery in court. Also, firing for no reason would not be very believable in itself compared to a timeline.
This is why employers even get extra careful with documentation in some situations where they have cause but also potential legal issues.