Endpoint - https://tuftandneedle-sandbox-280.atlassian.net/rest/api/3/issue
Connector between ServiceNow to Jira and I am getting a 400. Whenever we try to post data to service now to Jira I am getting a 400. Although the response is working in Postman. The auth is Basic auth and everything else is working fine there. There are no specific details.
Payload :
{
"fields": {
"issuetype": {
"name": "Story"},
"project": {
"key": "ESI"
},
"summary": "testing from postman123",
"description": {
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text":"testing from postman123"
}
]
}
]
}
}
}
Hi @Reshmi Jana
Welcome to the community.
I suspect you want to create an issue in Jira, correct?
The 1st issue I see is this:
fields": {
"issuetype": {
"name": "Story"},
"project": {
"key": "ESI"
this needs to be:
fields": {
"issuetype": {
":id": "<id of issue type story, not the name>" },
"project": {
"id": "<id of the project not the name or key>" },
See also Jira API do, api-rest-api-3-issue-post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.