Mission planner Draw Circle in Autonomous Flight

Hello! I want to fly my quadcopter autonomously with the mission planner. My aim is to make the drone rotate by drawing 8 between two poles. Is there any special command in the mission planner to do this? How can I do it? Thanks in advance!