Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/08/2024 06:34 AM
Hi,
End user is trying to change the password for JIRA account from Saviynt IGA, user is able to submit the request, task is getting generated and getting completed. end user is receiving the email with the new password but are unable to access the JIRA application from the new password.
Kindly assist.
Thank you
09/08/2024 06:45 AM
Hi @Shahban_A_K can you share change password json?? And are you mapping the password?
09/08/2024 08:32 AM - edited 09/08/2024 08:34 AM
Hi @NM
Thanks for your quick response.
I used below json
{
"call": [
{
"name": "ChangePassword",
"connection": "acctAuth",
"url": "https://XXXXXXX.atlassian.net/rest/api/3/user/password",
"httpMethod": "POST",
"httpHeaders": {
"Authorization": "${access_token}",
"Content-Type": "application/json"
},
"httpParams": "{\"accountId\": \"${account.accountID}\", \"newPassword\": \"${newPassword}\", \"confirmPassword\": \"${confirmPassword}\"}",
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200
]
},
"unsuccessResponses": {
"statusCode": [
400, 401, 403, 404
]
}
}
]
}
Error message: "ChangePassword":{"headers":null,"statusCode":404,"description":null,"status":"Failed"}}
09/08/2024 11:01 AM
Hi @Shahban_A_K ,
Is Jira not SSO integrated? if not, and Jira is configured to support local auth then
1)Test API call in postman
2) use ${password} variable in JSONs
"httpParams": "{\"accountId\": \"${account.accountID}\", \"newPassword\": \"${password}\", \"confirmPassword\": \"${password}\"}",
09/08/2024 04:27 PM
Use below json
{
"call": [
{
"name": "ChangePassword",
"connection": "acctAuth",
"url": "https://XXXXXXX.atlassian.net/rest/api/3/user/password",
"httpMethod": "POST",
"httpHeaders": {
"Authorization": "${access_token}",
"Content-Type": "application/json"
},
"httpParams": "{\"accountId\": \"${account.accountID}\", \"newPassword\": \"${password}\", \"confirmPassword\": \"${password}\"}",
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200
]
},
"unsuccessResponses": {
"statusCode": [
400, 401, 403, 404
]
}
}
]
}
09/08/2024 12:14 PM
@Shahban_A_K
Only the below binding variables are supported if you want to set a password for Saviynt,
${task.password}
${password}
${randompassword}
${account_password}
09/08/2024 10:22 PM
Hi @stalluri ,
I'm not generating random password; I'm using the change account password option and updating my own password.
so, do you mean to say it's not supported?
Thank you for your support.
09/09/2024 07:49 PM
Share postman screenshot
09/08/2024 10:20 PM
I used the json you provided with my API but still same error.
Error: {"ChangePassword":{"headers":null,"statusCode":404,"description":null,"status":"Failed"}}
Hi @Amit_Malik
I'm working on PoC, so it's not yet SSO integrated. Also, I used the provided httpParams but still same error.
Thanks for your support.
09/08/2024 10:40 PM
Try the API call in postman first with hard-coded password.
If it works in postman then try the params I shared earlier which uses ${password} variable
09/09/2024 05:09 PM
@Shahban_A_K
Can you try ${account_password}