Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

2 answers

2 votes
Rilwan Ahmed
Community Champion
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. 

0 votes
John Funk
Community Champion
June 19, 2025

Hi Nidhi - Welcome to the Atlassian Community!

I am marking Rilwan's answer as accepted. Let us know if you still have questions.

Suggest an answer

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

Atlassian Community Events