Building my payload from another tool, and passing it to a service using the CreateIssue API endpoint. I get the blow error. But if I copy the data that is passed to the Api service and past it in the body and run the service manually, it creates an issue in Jira Cloud correctly.
Any help in identifying the error would be appreciated.
Thanks in advance....
Error:
[
"Executing REST action...",
"GetStart notification received for adapter instance: com.hcl.hip.adapters.m4rest.MAdapterImpl@c2e1f26",
"Invocation type: SERVICE_DEF",
"-> executeRequest",
"-> setAuthPropertiesFromConfig",
"<- setAuthPropertiesFromConfig",
"-> setUpAuthentication",
"URL:https://xxxx.atlassian.net/rest/api/3/issue Authentication:BASIC.",
"<- setUpAuthentication",
"Request header: Accept=application/json",
"Invoked URL: POST https://xxxx.atlassian.net/rest/api/3/issue.",
"Response: (400) Bad Request.",
"Data: {\"errorMessages\":[\"INVALID_INPUT\"],\"errors\":{}}.",
"Duration: 798 ms.",
"<- executeRequest",
"Error Response Status : 400 - Bad Request.",
"Response Data: {\"errorMessages\":[\"INVALID_INPUT\"],\"errors\":{}}",
"Response header: Transfer-Encoding=chunked",
"Response header: x-envoy-upstream-service-time=204",
"Response header: Server=AtlassianProxy/1.19.3.1",
"Response header: ATL-TraceId=ac740f36d1b05543",
"Response header: X-Content-Type-Options=nosniff",
"Response header: Connection=close",
"Response header: Date=Thu, 12 May 2022 20:02:21 GMT",
"Response header: set-cookie=atlassian.xsrf.token=baed9e20-c02f-4644-a9fa-4f4085d37360_f3f888041d4a7247653c8854c37633c96957d62c_lin; path=/; SameSite=None; Secure",
"Response header: Strict-Transport-Security=max-age=315360000; includeSubDomains; preload",
"Response header: x-arequestid=ef877f09-923f-43d9-81d8-b5a64c287476",
"Response header: x-aaccountid=625927596b0007006970fdf4",
"Response header: timing-allow-origin=*",
"Response header: cache-control=no-cache, no-store, no-transform",
"Response header: X-XSS-Protection=1; mode=block",
"Response header: Content-Type=application/json;charset=UTF-8",
"Response header: Expect-CT=report-uri=\"https://web-security-reports.services.atlassian.com/expect-ct-report/global-proxy\", enforce, max-age=86400",
"Unsuccessful REST response: Bad Request"
]