09/11/2023 04:28 AM
What is the error in the below CREATE TICKET JSON, it is not able to fetch the "project key" and throwing the below error to create a ticket:
{
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://xxxxxxxx.atlassian.net/rest/api/3/issue",
"httpMethod": "POST",
"httpParams": "{\"fields\": {\"project\":\"${entitlement_values.CUSTOMPROPERTY1}\",\"summary\": \"New Ticket\",\"issuetype\": {\"name\": \"Task\"},\"reporter\":\"${account.accountID}\"}}}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"ticketidPath": "id",
"unsuccessResponses": {
"message": "Failed"
}
}
]
}
09/12/2023 03:07 PM
Can you update ConfigJSON param in the REST connection with value {"showLogs":true}. This will enable additional logging. Run the prov job and then check if you are getting a valid response in the logs.