I have a zap that is supposed to take messages posted to a specific channel in Microsoft Teams, and then use the data in those posts to create a new JIRA ticket, copying over the Subject, Description, and attachments. The first part works fine, and I’m able to create the ticket in question. However, when I try to use the “Add Attachment to JIRA Cloud” step, I get a 403 error about half the time.
I’ve determined that the 403 error that happens half the time seems to be coming from Teams, but the message Zapier gives is very unhelpful:
Failed to create an attachment in Jira Software Cloud
The app returned "403 FORBIDDEN".
However, I’m pretty sure that’s coming from Teams. “The App” isn’t very clear though. But when I created a code step to just access the attachments URL, it still got a 403.
Additionally even when it succeeds it adds a string with the attachment URL to the attachments as an attachment to the JIRA ticket, instead of the attachment itself.
What am I doing wrong there, why is it intermittent, how do I see more clear data as to where the failure happens, and what workarounds exist for successfully pulling in the attachments to the Teams message and sending them to JIRA?