resetUserColumns method
Resets the default
issue table columns for the
user to the system default. If accountId
is not passed, the calling
user's default columns are reset.
Permissions required:
- Administer Jira global permission, to set the columns on any user.
- Permission to access Jira, to set the calling user's columns.
Implementation
Future<void> resetUserColumns({String? accountId, String? username}) async {
await _client.send(
'delete',
'rest/api/3/user/columns',
queryParameters: {
if (accountId != null) 'accountId': accountId,
if (username != null) 'username': username,
},
);
}