I downloaded atlassian-cli-2.5.0-distribution.zip, unzipped it, And simply ran
'jira --action createIssue --project "P1" --type "type1" --summary "Thist is test content." --server https://mydomain.com/jira --user username --password pwd'
This successfully created a ticket in https://mydomain.com/jira.
I need to execute this from unix in my task. So I moved the unzipped folder of atlassian-cli-2.5.0-distribution.zip to a unix server. There i executed below script
'sh jira.sh --action createIssue --project "P1" --type "type1" --summary "Thist is test content." --server https://mydomain.com/jira --user username --password pwd'
Unable to log in to server: http://mydomain/jira/rpc/soap/jirasoapservice-v2 with user: username.
Cause: ; nested exception is:
java.net.ConnectException: Connection refused
Here /rpc/soap/jirasoapservice-v2 got appended with https://mydomain.com/jira.
Please let me know how to avoid that and to create ticket thru jira.sh
Yes Bob. I am able to access server address from unix server browser.
Please help me how to avoid the append "/rpc/soap/jirasoapservice-v2" happening in the actual server address https://mydomain.com/jira.
Due to that I got the error
Unable to log in to server: http://code.mydomain.com/jira/rpc/soap/jirasoapservice-v2 with user: username.
Cause: ; nested exception is:
java.net.ConnectException: Connection refused
You have stated 2 separate addresses: https://mydomain.com/jira and http://code.mydomain.com/jira . So try both using the CLI and via browser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bob,
I had a question -- does the unix/linux box need a browser installed, or just specific ports installed? I am running into a similar issue.
May I add -- your software is a piece of genius. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, the CLI has no requirements like that. However, it can be helpful for resolving environmental issues like connection issues. And thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.