migrateQueries method

Future<ConvertedJQLQueries> migrateQueries({
  1. required JQLPersonalDataMigrationRequest body,
})

Converts one or more JQL queries with user identifiers (username or user key) to equivalent JQL queries with account IDs.

You may wish to use this operation if your system stores JQL queries and you want to make them GDPR-compliant. For more information about GDPR-related changes, see the migration guide.

Permissions required: Permission to access Jira.

Implementation

Future<ConvertedJQLQueries> migrateQueries(
    {required JQLPersonalDataMigrationRequest body}) async {
  return ConvertedJQLQueries.fromJson(await _client.send(
    'post',
    'rest/api/3/jql/pdcleaner',
    body: body.toJson(),
  ));
}