How to generate PAT tokens in Atlanssan Jira Cloud

Vani Rudraraju
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 25, 2024

Hi,
As part of  migration from Jira boards to Azure we have to give PAT token in commant prompt, but i am unable to create it as i am not getting any option for personal access token in Profile or settings, could you please let us know how can we create PAT tokens

 

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2024

HI @Vani Rudraraju 

Welcome to the community.

See the documentation, manage-api-tokens-for-your-atlassian-account 

Vani Rudraraju
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 25, 2024

API token i am able to create but i need PAT token( Personal access token).
if we use API token we are getting below error. could you please let me know is this error because of level of access or we cont be able to use API tokens in migrator tool?



"] Retrieving Jira fields...
[E][16:05:31] Failed to retrieve fields from Jira (Response was not recognized as JSON). This usually indicates a problem with authentication or authorization. Check your Jira credentials and permissions.
[System.AggregateException] System.AggregateException: One or more errors occurred. (Error Message: The SSL connection could not be established, see inner exception.)
---> System.InvalidOperationException: Error Message: The SSL connection could not be established, see inner exception.
at Atlassian.Jira.Remote.JiraRestClient.GetValidJsonFromResponse(IRestRequest request, IRestResponse response)
at Atlassian.Jira.Remote.JiraRestClient.ExecuteRequestAsync(Method method, String resource, Object requestBody, CancellationToken token)
at Atlassian.Jira.Remote.JiraRestClient.ExecuteRequestAsync[T](Method method, String resource, Object requestBody, CancellationToken token)

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2024

Hi @Vani Rudraraju 

The manual I gave you is to create a PAT, it based on your Atlassian account.

But related to permission, can you access Jira and access the projects where the issues are in?

Vani Rudraraju
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 25, 2024

Hi Marc,
this Guide is for to create API token, but we need to create PAT token, can you please let me know how to create PAT token

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2024

This is a PAT Atlassian toke, its based on your Atlassian account.

Atlassian has API tokens baed on the instance, they can only be made by org or site admins and tokens based on a user (PAT).

To use a token and get information form the system, you still need permissions on the projects in Jira where the information resides in.

If you don't have permissions on projects, the API call you make to get date will fail.

Like Vani Rudraraju likes this
Vani Rudraraju
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 25, 2024

Thank you Marc, i will connect with Admin

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events