-
Suggestion
-
Resolution: Unresolved
-
None
-
4
-
Issue Summary
We have a REST API call that deactivates the users and takes a parameter "message" as payload.
However, this message parameter uses is limited to storing reason in DB.
Please provide functionality that will use this message and show this set message in the deactivation notification email and when the user tries to log in, replacing the default message "This account has been deactivated. Please contact your organization admin."
Steps to Reproduce
- Step: Make a POST call like:
curl --request POST \ --url 'https://api.atlassian.com/users/{account_id}/manage/lifecycle/disable' \ --header 'Authorization: Bearer <access_token>' \ --header 'Content-Type: application/json' \ --data '{ "message": "On 6-month suspension" }'
Expected Results
- Set message "On 6-month suspension" should be in the email notification and on the login screen instead of the default message.
Actual Results
- Check the email notification set message "On 6-month suspension" will not be there
- Try to log in as a deactivated user. The set message "On 6-month suspension" will not be there
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.