Uploaded image for project: 'Identity'
  1. Identity
  2. ID-8189

Provide functionality to display "message" parameter from "Deactivate a user" REST API when deactivated user tries to login or gets email

XMLWordPrintable

    • 4
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

      1. 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

      1. Set message "On 6-month suspension" should be in the email notification and on the login screen instead of the default message.

      Actual Results

      1. Check the email notification set message "On 6-month suspension" will not be there
      2. 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.

            Unassigned Unassigned
            fa0678a90f16 Avrinder Singh
            Votes:
            8 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: