I have discovered that our JIRA Accounts are not disabled through Sailpoint. All other steps are functioning well but not disabling, which causes a problematic leaver process.
I try to disable test users in Postman with PUT and /jira/rest/api/2/user/?username=testuser
, it is functioning. But I can't automate it without a fix username.
URL:
/jira/rest/api/2/user/user?username=$plan.nativeIdentity$
Body:
{
"active": false
}