resetColumns method

Future<void> resetColumns(
  1. int id
)

Reset the user's column configuration for the filter to the default.

Permissions required: Permission to access Jira, however, columns are only reset 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<void> resetColumns(int id) async {
  await _client.send(
    'delete',
    'rest/api/3/filter/{id}/columns',
    pathParameters: {
      'id': '$id',
    },
  );
}