Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

JIRA Account Password reset from Saviynt

Shahban_A_K
New Contributor
New Contributor

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

10 REPLIES 10

NM
Honored Contributor II
Honored Contributor II

Hi @Shahban_A_K can you share change password json?? And are you mapping the password?

Shahban_A_K
New Contributor
New Contributor

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"}}

Amit_Malik
Valued Contributor II
Valued Contributor II

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}\"}",

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

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
]
}
}
]
}


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

stalluri
Valued Contributor II
Valued Contributor II

@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} 


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

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. 

Share postman screenshot


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Shahban_A_K
New Contributor
New Contributor

Hi @rushikeshvartak 

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. 

Amit_Malik
Valued Contributor II
Valued Contributor II

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

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

stalluri
Valued Contributor II
Valued Contributor II

@Shahban_A_K 

Can you try ${account_password}


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.