jira-cli: update project's issue type scheme doesn't work


I try to use the command line interface to update the issue type scheme of all my projects in JIRA. I do the following :

./jira.sh -u xxx -p xxx -s https://<myaddress>:8443 -a updateProject --project XYZ --issueTypeScheme "My Scheme" -v

And it says :

Remote error: Resource does not exist. Use -v to see more details.

See the end of the message for the verbose output. I can retrieve information with these credentials, or even create projects seemlessly.

I tried to access directly https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa and I get a 404. Could it be a bug in JIRA 5 ? a missing feature ?

Thank you for any hint,



When I use -v I get the following output :

Server address: https://<myaddress>:8443/rpc/soap/jirasoapservice-v2
Successful login to: https://<myaddress>:8443/rpc/soap/jirasoapservice-v2 by user: xxx
URL requested: https://<myaddress>:8443/secure/admin/WebSudoAuthenticate.jspa?os_username=xxx&os_password=***&authenticate=Confirm&webSudoPassword=***&webSudoDestination=%2Fsecure%2FAdminSummary.jspa&webSudoIsPost=true
type: POST
Content type: application/xml
Post data: null
Val: 6E68DEDB39B03B8E0857664553442E89
Reading Key: atlassian.xsrf.token
Val: BYKY-6GVB-QZ5G-Q4L8|67aa365640e0472942397563d69284835e190cae|lin
Response code: 200, message: OK, url: https://<myaddress>:8443/secure/admin/WebSudoAuthenticate.jspa?os_username=xxx&os_password=***&authenticate=Confirm&webSudoPassword=***&webSudoDestination=%2Fsecure%2FAdminSummary.jspa&webSudoIsPost=true
requested: https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa?os_username=xxx&os_password=***
type: GET
Content type: application/xml
Response code: 404, message: Not Found, url: https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa?os_username=xxx&os_password=***
determination - response: 404: Not Found
Problem determination - response url: https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa?os_username=xxx&os_password=***
determination - request url: https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa?os_username=xxx&os_password=***

error: Resource does not exist. Use -v to see more details.
org.swift.common.cli.AbstractRemoteClient$RemoteResourceNotFoundException: Resource does not exist. Use -v to see more details.
at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:530)
at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:294)
at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:324)
at org.swift.jira.cli.JiraClient.getIssueTypeSchemeId(JiraClient.java:3043)
at org.swift.jira.cli.JiraClient.updateProject(JiraClient.java:2905)
at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:442)
at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119)
at org.swift.common.cli.CliClient.doWork(CliClient.java:299)
at org.swift.jira.cli.JiraClient.main(JiraClient.java:146)
aFi7tdC632 logged out.

EDIT: I have created the following issue for the CLI: https://bobswift.atlassian.net/browse/ACLI-62

1 answer

1 accepted

Please open an issue here: https://bobswift.atlassian.net/browse/JCLI . Indicate your jira version and CLI version.

Done. Thank you in advance for your help. Regards

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot