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.
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.