Skip to content

Function: setUserColumns() ​

ts
function setUserColumns(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/users.ts:140

Sets the default issue table columns for the user. If an account ID is not passed, the calling user's default columns are set. If no column details are sent, then all default columns are removed.

The parameters for this resource are expressed as HTML form data. For example, in curl:

curl -X PUT -d columns=summary -d columns=description https://your-domain.atlassian.net/rest/api/3/user/columns?accountId=5b10ac8d82e05b22cc7d4ef5'

Permissions required:

  • Administer Jira global permission, to set the columns on any user.
  • Permission to access Jira, to set the calling user's columns.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ accountId?: string; columns?: string[]; }-
parameters.accountId?stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
parameters.columns?string[]-
options?RequestOptions-

Returns ​

Promise<void>