Convert User Identifiers To Account Ids In Jql Queries

POST {{baseUrl}}/rest/api/3/jql/pdcleaner

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.

Request Body

{"queryStrings"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;queryStrings&quot;:[&quot;issuetype = Bug AND assignee in (abcde-12345) AND reporter in (abc551-c4e99) order by lastViewed DESC&quot;],&quot;queriesWithUnknownUsers&quot;:[{&quot;originalQuery&quot;:&quot;assignee = mia&quot;,&quot;convertedQuery&quot;:&quot;assignee = unknown&quot;}]}