Hi All,
Im trying to post attachments from servicenow to jira via rest message. As an output I got the status code as 0 and response as null. Does anyone have idea on why this kind of error.
Hi All,
Im trying to post attachments from servicenow to jira via rest message. As an output I got the status code as 0 and response as null. Does anyone have idea on why this kind of error.
Hi @Vengadesh. Welcome to the developer community.
Personally, I am not familiar with building ServiceNow integrations; however, if you’re getting a status code 0 and a null response, it’s likely that the API call to Jira isn’t actually being sent properly (or at all).
Could you provide more details about how you’re making the API call to Jira (code snippet)? This might help myself, or even better, folks who are familiar with ServiceNow, to help debug your problem.
From servicenow Im using REST message and trying to connect to the on-premise jira via mid-server.What i thought is there might be an issue while moving the attachments via mid-server.
Before posting the attachments Im trying to create an issue ,that works as expected
@Vengadesh Ah, so you’re able to use the Create Issue method (POST /api/2/issue
) but you’re not able to successfully make an Add Attachment (POST /api/2/issue/{issueIdOrKey}/attachments
) API call?
Hi ,
yes exactly…