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

Hello,

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,

Barth

*********

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
Request
type: POST
Content type: application/xml
Post data: null
Reading Key: JSESSIONID
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
URL
requested: https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa?os_username=xxx&os_password=***
Request
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=***
Problem
determination - response: 404: Not Found
Problem determination - response url: https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa?os_username=xxx&os_password=***
Problem
determination - request url: https://<myaddress>:8443/secure/admin/ManageIssueTypeSchemes.jspa?os_username=xxx&os_password=***

Remote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

125 views 4 9
Read article

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