PUT /rest/api/2/user/properties/{propertyKey}

Sets the value of a user's property. Use this resource to store custom data against a user.

Note: This operation does not access the user properties created and maintained in Jira.

Permissions required:

Servers

Path parameters

Name Type Required Description
propertyKey String Yes

The key of the user's property. The maximum length is 255 characters.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
username String No

This parameter is no longer available and will be removed from the documentation soon. See the deprecation notice for details.

userKey String No

This parameter is no longer available and will be removed from the documentation soon. See the deprecation notice for details.

accountId String No

The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.