Unable to add attachment to Jira Issue from SAP CPI (API Call)

Nidhi Srivastava
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2025

Hi Experts,

I am trying to POST an attachment from SAP CPI to Jira Issue but getting error response code as HTTP 404. Tried posting from POSTMAN as well but HTTP 400 error is displayed.

HTTP URL https://bsemia-sandbox-338.atlassian.net/rest/api/3/issue/SNTSTPRJ-86/attachments

image (1).png

I am attaching the configuration details and the error message, but nothing is working out. Please help me to understand where I am wrong and how this can be resolved.

 

image.png

 

 

Thanks,

Nidhi Srivastava

1 answer

1 vote
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2025

Hi @Nidhi Srivastava ,

Welcome to the community !!

404 is Returned if any of the following is true:

  • the issue is not found.
  • the user does not have permission to view the issue.

Also bear in mind the permission limitations that might be associated with the file based on it's location of the local machine.

You can refer this link to know the process how to add attachment using jira cloud api. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events