Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get validation for user anonymization rerun

Validates user anonymization re-run process.

GET/api/2/user/anonymization/rerun
Query parameters
expandstring

Parameter used to include parts of the response.

oldUserKeystring

User key before anonymization, only needed when current value is anonymized. If there is no old key, e.g. because the user was already created using the new key generation strategy, provide a value equal to the current key.

oldUserNamestring

User name before anonymization, only needed when the current value is anonymized. If there is no old name, provide a value equal to the current name.

userKeystring

The key of the user to validate anonymization for.

Responses
200

Returned when validation succeeded.

affectedEntitiesobject
businessLogicValidationFailedboolean
deletedboolean
displayNamestring
emailstring
errorsobject
expandstring
operationsstring[]
successboolean
userKeystring
userNamestring
warningsobject
400

Returned if a mandatory parameter was not provided or validation failed.

403

Returned if the logged-in user cannot anonymize users.

Try it
Server
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/user/anonymization/rerun' \
  -H 'Accept: application/json'
Response
{
  "affectedEntities": {
    "property1": [
      {
        "description": "User Profile",
        "numberOfOccurrences": 1,
        "type": "ANONYMIZE",
        "uri": "/jira/secure/ViewProfile.jspa?name=fred",
        "uriDisplayName": "User Profile"
      }
    ],
    "property2": [
      {
        "description": "User Profile",
        "numberOfOccurrences": 1,
        "type": "ANONYMIZE",
        "uri": "/jira/secure/ViewProfile.jspa?name=fred",
        "uriDisplayName": "User Profile"
      }
    ]
  },
  "businessLogicValidationFailed": true,
  "deleted": false,
  "displayName": "Fred Flinston",
  "email": "fred@example.com",
  "errors": {
    "property1": {
      "errorMessages": [
        "string"
      ],
      "errors": {
        "property1": "string",
        "property2": "string"
      }
    },
    "property2": {
      "errorMessages": [
        "string"
      ],
      "errors": {
        "property1": "string",
        "property2": "string"
      }
    }
  },
  "expand": "string",
  "operations": [
    "USER_TRANSFER_OWNERSHIP_PLUGIN_POINTS",
    "USER_DISABLE",
    "USER_KEY_CHANGE_PLUGIN_POINTS",
    "USER_KEY_CHANGE",
    "USER_NAME_CHANGE_PLUGIN_POINTS",
    "USER_NAME_CHANGE",
    "USER_EXTERNAL_ID_CHANGE",
    "USER_ANONYMIZE_PLUGIN_POINTS"
  ],
  "success": true,
  "userKey": "JIRAUSER10100",
  "userName": "fred",
  "warnings": {
    "property1": {
      "errorMessages": [
        "string"
      ],
      "errors": {
        "property1": "string",
        "property2": "string"
      }
    },
    "property2": {
      "errorMessages": [
        "string"
      ],
      "errors": {
        "property1": "string",
        "property2": "string"
      }
    }
  }
}

Was this page helpful?