Closed Jura closed 5 years ago
Thanks for reporting, we'll have a look. What version of Jira are you on? Also it would be helpful if you could share the format of the url you are using.
It;'s Jira cloud (latest version, I presume: Jira c7720088 in Help -> ABout Jira menu).
I tried URL in the format of https://[org_name].atlassian.net and https://[org_name].atlassian.net/projects/[project_name] - both end up with the same error
I've tried to repo but it works with a normal user in my account. Is it possible for you to test with a different account or give a bit more context on your permission setup?
I assigned account to the project admin role and also listed it as project lead in Jira cloud
but result is exactly the same. I'm also attaching log for your reference
@MOlausson , I cannot validate this issue anymore since I lost access to Jira Cloud and Jira Server is not affected. I think this issue can be closed as non-reproducible.
Hi, i have the same issue: error.txt
I tried with 3 accounts and tried URL in the format of https://[org_name].atlassian.net and https://[org_name].atlassian.net/projects/[project_name] - both end up with the same error
We use Jira CLOUD.
Thank you .
Just have the same problem. Solved by creating an API Token in my account settings. Then paste this token in the -p argument of the jira-export command.
Go to your Account Settings > Security > API Token to create a new one
@JulienDecottignies thanks for the suggestion. I'll have to check what makes username/password work on most accounts but not all. @vesselinmilanov happy to take a call and try to figure it out together since I can't repro. But using a token should get you unblocked.
Yes - after many tries i discover this workaround with API Token.
Thank you .
Ok, so good for now @vesselinmilanov ?
I found using the API token was necessary as well - regular password didn't work. Got the token from here: https://id.atlassian.com/manage/api-tokens.
Ok, sorry to hear but good you got it resolved @ndbadmin. Did you try using your Jira username as well? The api auth seems to behave differently when using username, email or tokens.
Here's an example (exported from the Users admin in Jira);
username,full_name,email,active,created,Last active in Confluence,Last active in Stride,Last active in Jira,Last active in Opsgenie,Last active in Statuspage
--
admin,Mathias Olausson,mathias.olausson@solidify.se,Yes,5 Feb 2018,Never logged in,Never logged in,2 May 2019,Never logged in,Never logged in
Thank you for this thread! I've been searching for this question and the token did the trick!
Following command
jira-export -u [bitbucket username] -p [personal token] --url [url of the project] --config config.json --force
producing uncaught 401 Unauthorized error after passing initial connection step. Apparently it fails at https://github.com/solidify/jira-azuredevops-migrator/blob/80bb539fa33a433d1f6a425d5ce2151306982701/src/WorkItemMigrator/JiraExport/JiraProvider.cs#L36 since here is what I got in debug log:Just to be clear - I don't have admin rights for the Jira project, just normal project member access level