setColumns method
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.
Implementation
Future<dynamic> setColumns(
{required int id, required List<String> body}) async {
return await _client.send(
'put',
'rest/api/3/filter/{id}/columns',
pathParameters: {
'id': '$id',
},
body: body,
);
}