There is this project in my JIRA instance where adding an attachment is mandatory for the ticket creation. I simply CANNOT create the ticket and then attach a file to it. The system won't allow me to.
So, given this scenario, how can I upload an attachment while creating a ticket through the API?