I am working with Power Automate to create issues in Jira automatically, however the Jira plugin for Power Automate doesn't allow to add an attachment, so I have been trying to use the HTTP action on Power Automate with the Method post to add the attachments, but so far it's not working.
I tried to test it with Postman as well with the same result.
Any ideas of what could be the problem, the error code it's showing me is: 404 XSRF check failed.
hi @Sujaira Moughawiche you just need to add header to the request (as described in https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments/#api-rest-api-3-issue-issueidorkey-attachments-post):
I just tested and it is working. Complete request configuration looks like:
Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events