Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/05/2024 10:44 AM
Hi,
I created a Basic Rest connection for JIRA, I'm able to Import the accounts and entitlements but when I'm trying to Create account from Saviynt the Create account task is failing with the below error.
Any help would be greatly appreciated.
Error: {"call1":{"headers":null,"message":{"errorMessages":["You must specify the products that user can access."],"errors":{}},"statusCode":400,"description":null,"status":"Failed"}}
Create Account JSON:
{
"accountIdPath": "call1.message.accountId",
"responseColsToPropsMap": {
"name": "call1.message.displayName~#~char",
"accounttype": "call1.message.accountType~#~char",
"customproperty1": "call1.message.timeZone~#~char",
"customproperty2": "call1.message.locale~#~char",
"customproperty3": "call1.message.self~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://XXXXXXXX.atlassian.net/rest/api/2/user",
"httpMethod": "POST",
"httpParams": "{\"name\": \"${user.firstname}\",\"password\": \"Cloudsec@123\",\"emailAddress\": \"${user.email}\",\"displayName\":\"${user.displayname}\",\"notification\":\"true\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201,
202
]
},
"unsuccessResponses": {
"statusCode": [
400,
401
]
}
}
]
}
Best Regards,
Shah
09/05/2024 11:10 AM
09/05/2024 11:13 AM
Hi @Shahban_A_K , you might need to pass few other values..