Have downloaded and installed CLI and using the instructions:
https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/98009238/CLI+Client+Installation+and+Use
Have edited jira.bat with server url
In the instructions - item 8, it says:"Cloud users must use their internal user name and not their email!"
But at the bottom of the page it says:
So is it email or internal User ID? I am getting a 401 error with either one. though I am not sure how I find out my internal user name?
Am using CLIv8.4 and am a site admin
Hi @Joanne Penney ,
As the documentation is incorrect, we have opened a bug request with our development team: https://bobswift.atlassian.net/browse/ACLI-685.
Please try to access the above ticket using your Atlassian credentials. If you face any issue in accessing it, please open in a fresh browser window. Once you access the above ticket, please add yourself as a watcher so that you will get updates.
Regarding the issue you are facing, as per the recent GDPR guidelines issued by Atlassian, there is a change in the authentication parameters for the Cloud. In order to overcome this issue, please follow the below steps:
1. Download CLI client 8.5 SNAPSHOT from this location under the *EAP Client* section.
2. Use the Email address as username and token as password.
A token is created that needs to be copied and kept securely. Use it as --password parameter.
As an example please refer to the following code in Linux:
java -jar /opt/atlassian/cli/atlassian-cli-8.5.0-SNAPSHOT/lib/jira-cli-8.5.0-SNAPSHOT.jar --server https://your-site.atlassian.net --user "john@example.com" --token rg97a5s4agsjsd732 "$@"
If you are still facing any issues, please share us the debug logs by appending --debug to the command. We are happy to help you.
Thanks,
Sudhir
PS: We have opened a Support Request: https://bobswift.atlassian.net/browse/SUPPORT-2350 to track this issue. Once you are able to access, please feel free to update this ticket for our communication.
Hi @Joanne Penney ,
Thank you for bringing this to us. We have updated the instruction information in this documentation page.
We appreciate it.
Thank you,
Sudhir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sudhir_Appfire_ ,
Maybe you could assist... I am on cloud.
I have customized jira bat file;
rem - Customize for your installation, for instance you might want to add default parameters like the following:
java -jar C:\cli\atlassian-cli-8.8.0-SNAPSHOT\lib\jira-cli-8.8.0-SNAPSHOT.jar --server https://bojana.atlassian.net --user "bojana.vasic@technia.com"--token XXXXXXX %*
I run;
cd C:\cli\atlassian-cli-8.8.0-SNAPSHOT
jira --action getServerInfo
And I get this error;
Error: Unexpected argument: token
Thanks in advance! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.