Skip to content

Function: setColumns() ​

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

Defined in: src/cloud/api/filters.ts:311

Sets the columns for a filter. Only navigable fields can be set as columns. Use Get fields to get the list fields in Jira. A navigable field has navigable set to true.

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/filter/10000/columns

Permissions required: Permission to access Jira, however, columns are only set for:

  • Filters owned by the user.
  • Filters shared with a group that the user is a member of.
  • Filters shared with a private project that the user has Browse projects project permission for.
  • Filters shared with a public project.
  • Filters shared with the public.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ columns?: string[]; id: number; }-
parameters.columns?string[]-
parameters.id?numberThe ID of the filter.
options?RequestOptions-

Returns ​

Promise<void>