Hi,
How can I create an attachment in Jira using rest API and can anyone share the code sample using Javascript?
I have tried both the endpoint below mentioned while using this I'm getting XSRF check failed error.
1) https://konnectify-jira-integration.atlassian.net/rest/api/3/issue/PRJ2-95/attachments
2) https://konnectify-jira-integration.atlassian.net/rest/api/2/issue/PRJ2-95/attachments
Thanks in advance.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Jira Administrator
Configure Jira Software, Jira Core, or Jira Service Management, including global settings, permissions, and schemes.
Managing Jira Projects Cloud
Learn to create and configure company-managed projects in Jira Software and partner effectively with Jira Admins.
Learning Path
Become an effective Jira Software Project Admin
This learning path is designed for team leaders who configure Jira Software projects to match a team's processes.