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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { columns?: string[]; id: number; } | - |
parameters.columns? | string[] | - |
parameters.id? | number | The ID of the filter. |
options? | RequestOptions | - |
Returns
Promise<void>