Unable to generate personal access token for jira v8.5

I want to generate personal access token. But i couldn’t find a way to generate PAT from UI. I tried through rest API. but I guess that API is also deprecated.

For reference:
https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html

Welcome to the Atlassian developer community @AnkitDalal,

Atlassian didn’t withdraw support for API tokens in Jira 8.5; we didn’t implement it yet. As stated in the document you linked:

You can create and use personal access tokens in Data Center and server editions of the following Atlassian applications: Jira Core/Software 8.14 and later

The latest version of Jira Software is already 8.22 and long term support is 8.20. Both provide support for personal access tokens.