on
2024 Jul 16
8:58 AM
- last edited on
2024 Aug 07
5:08 PM
by
jerryjanda
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.
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
Request clarification before answering.
Thanks for letting us know. The content type has been changed to JSON format
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.