cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Integrate Jira with SAP CPI - Create Jira ticket via SAP CPI

Imran_sk
Explorer
0 Kudos
1,067

Hello Experts,

I am trying to integrate with the Jira to create a ticket/issue via SAP CPI to reduce the usage of the third part tool which does the same thing. 

I have referred the below blogs and tried to create a sample IFlow in the sap cpi but unfortunately, I am unable to proceed further due to the error encountered which states as below. 

The Jira Cloud platform REST API (atlassian.com)

org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://<hostname>/rest/api/2/issue/ with statusCode: 415

FYI, I am able to get the details of the existing ticket but unable to create the ticket via CPI. But managed to create the ticket via POSTMAN.

Sample IFLow.

Imran_vidaxl_0-1721116404983.png

Imran_vidaxl_1-1721116611676.png

 

Payload used:

{
"fields": {
"project": {
"key": "SDC"
},
"summary": "Demo ticket from the CPI via API",
"issuetype": {
"name": "Task"
},
"description": "PLEASE IGNORE THIS ISSUE TICKET",
"assignee": {
"name": "Imran"
},
"labels": [
"Demo"
]
}
}

Please advice on this. Thanks in Advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Prasobh
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks for letting us know. The content type has been changed to JSON format