org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed.

JIRA | Mark Wilkinson | 9 months ago
  1. 0

    When running the removeNotification action against a preconfigured plan I got the following error message :- Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. on running the command again with the -v option, it appears that the final request is missing the /chain part of the URL cli/bamboo.sh --action removeNotification --plan PLAN --id -1 -v Server address: https://bamboo.xxxxxxxxx Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/org.swift.bamboo.cli/latest/validatelicense? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxxrest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Request type: POST Content type: text/html Post data: Response code: 404, message: Not Found, url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - response: 404: Not Found Problem determination - response url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - request url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed. at org.swift.bamboo.cli.helpers.NotificationHelper.removeNotification(NotificationHelper.java:323) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:728) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:441) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253)

    JIRA | 9 months ago | Mark Wilkinson
    org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed.
  2. 0

    When running the removeNotification action against a preconfigured plan I got the following error message :- Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. on running the command again with the -v option, it appears that the final request is missing the /chain part of the URL cli/bamboo.sh --action removeNotification --plan PLAN --id -1 -v Server address: https://bamboo.xxxxxxxxx Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/org.swift.bamboo.cli/latest/validatelicense? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxxrest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/rest/api/latest/plan/PLAN? URL requested: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN Request type: GET Content type: text/html Response code: 200, message: OK, url: https://bamboo.xxxxxxxxx/chain/admin/config/defaultChainNotification.action?&buildKey=PLAN URL requested: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Request type: POST Content type: text/html Post data: Response code: 404, message: Not Found, url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - response: 404: Not Found Problem determination - response url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Problem determination - request url: https://bamboo.xxxxxxxxx/admin/config/deleteChainNotification.action?&buildKey=PLAN&notificationId=94864086 Notification with id 94864086 not removed. Reason: Resource does not exist. Response code: 404. Use -v to see more details. Client error: 0 notifications removed from plan. 1 not removed. org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed. at org.swift.bamboo.cli.helpers.NotificationHelper.removeNotification(NotificationHelper.java:323) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:728) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:441) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253)

    JIRA | 9 months ago | Mark Wilkinson
    org.swift.common.cli.CliClient$ClientException: 0 notifications removed from plan. 1 not removed.
  3. 0

    After I type the command as below: ./jira.sh --action cloneIssues --search 'project = IOS150801 AND issuetype in ("Test Scenario", "Test Case") ' --verbose Using JIRA Cloud and CLI is 5.1 Snapshot The result will shown as below and cannot clone the issues: Server address: https://appunique.atlassian.net/rpc/soap/jirasoapservice-v2 URL requested: https://appunique.atlassian.net/rest/api/latest/serverInfo? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/serverInfo? json: {"baseUrl":"https:\/\/appunique.atlassian.net","buildNumber":71001,"serverTitle":"JIRA","serverTime":"2015-12-21T00:22:29.191+0800","scmInfo":"2ba8c0f6d804dd6099ab1d311f328e634649726f","buildDate":"2015-12-04T00:00:00.000+0800","versionNumbers":[7,1,0],"version":"7.1.0-OD-02-030"} check JIRA release: 7.1.0-OD-02-030 Search: project = IOS150801 AND issuetype in ("Test Scenario", "Test Case") URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":0,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":50,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":100,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":150,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":200,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":250,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":300,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":350,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":400,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":450,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":500,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/field? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/field? URL requested: https://appunique.atlassian.net/rest/api/latest/issue/IOS150801-568?&fields=*all%2C-comment%2C-worklog Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/issue/IOS150801-568?&fields=*all%2C-comment%2C-worklog Id . . . . . . . . . . . . . : issuetype Name . . . . . . . . . . . . : Issue Type Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : issuetype Item type . . . . . . . . . . : URL requested: https://appunique.atlassian.net/rest/api/latest/project/IOS150801? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/project/IOS150801? URL requested: https://appunique.atlassian.net/rest/api/latest/issue/createmeta/?&issuetypeIds=10301&projectKeys=IOS150801&expand=projects.issuetypes.fields Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/issue/createmeta/?&issuetypeIds=10301&projectKeys=IOS150801&expand=projects.issuetypes.fields Id . . . . . . . . . . . . . : summary Name . . . . . . . . . . . . : Summary Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : reporter Name . . . . . . . . . . . . : Reporter Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : user Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : priority Name . . . . . . . . . . . . : Priority Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : true Has allowed values . . . . . : true Type . . . . . . . . . . . . : priority Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : description Name . . . . . . . . . . . . : Description Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : customfield_10002 Name . . . . . . . . . . . . : Sprint Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : string Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.pyxis.greenhopper.jira:gh-sprint Custom id . . . . . . . . . . : 10002 Id . . . . . . . . . . . . . : customfield_10003 Name . . . . . . . . . . . . : Epic Link Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : any Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.pyxis.greenhopper.jira:gh-epic-link Custom id . . . . . . . . . . : 10003 Id . . . . . . . . . . . . . : issuelinks Name . . . . . . . . . . . . : Linked Issues Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : issuelinks Id . . . . . . . . . . . . . : labels Name . . . . . . . . . . . . : Labels Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : string Id . . . . . . . . . . . . . : parent Name . . . . . . . . . . . . : Parent Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : issuelink Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : project Name . . . . . . . . . . . . : Project Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : project Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : components Name . . . . . . . . . . . . : Component/s Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : component Id . . . . . . . . . . . . . : customfield_10306 Name . . . . . . . . . . . . : Testing Steps Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10306 Id . . . . . . . . . . . . . : customfield_10309 Name . . . . . . . . . . . . : Test Case ID Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textfield Custom id . . . . . . . . . . : 10309 Id . . . . . . . . . . . . . : customfield_10308 Name . . . . . . . . . . . . : Test Scenario ID Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textfield Custom id . . . . . . . . . . : 10308 Id . . . . . . . . . . . . . : customfield_10303 Name . . . . . . . . . . . . : Test Actual Result Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10303 Id . . . . . . . . . . . . . : customfield_10302 Name . . . . . . . . . . . . : Test Expected Result Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10302 Id . . . . . . . . . . . . . : customfield_10305 Name . . . . . . . . . . . . : Testing Comment Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10305 Id . . . . . . . . . . . . . : customfield_10304 Name . . . . . . . . . . . . : Testing Date Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : date Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:datepicker Custom id . . . . . . . . . . : 10304 Id . . . . . . . . . . . . . : fixVersions Name . . . . . . . . . . . . : Fix Version/s Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : version Id . . . . . . . . . . . . . : customfield_10310 Name . . . . . . . . . . . . : Test Scenario Type Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : option Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:select Custom id . . . . . . . . . . : 10310 Id . . . . . . . . . . . . . : customfield_10102 Name . . . . . . . . . . . . : CSR Mesh Pages and Functions Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : option Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:select Custom id . . . . . . . . . . : 10102 Id . . . . . . . . . . . . . : assignee Name . . . . . . . . . . . . : Assignee Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : true Has allowed values . . . . . : false Type . . . . . . . . . . . . : user Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : attachment Name . . . . . . . . . . . . : Attachment Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : attachment Id . . . . . . . . . . . . . : customfield_10202 Name . . . . . . . . . . . . : Finalize Version Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textfield Custom id . . . . . . . . . . : 10202 Id . . . . . . . . . . . . . : customfield_10301 Name . . . . . . . . . . . . : Test Status Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : option Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:select Custom id . . . . . . . . . . : 10301 URL requested: https://appunique.atlassian.net/rest/api/latest/issue? Request type: POST Content type: application/json Post data: {"fields":{"summary":"ATS002-1 - The QRCode Scanner is functionable","customfield_10102":{"id":"10112"},"customfield_10306":"\"1. Open the QRCode Scanner\r\n2. Scan the QR Code\"","customfield_10309":"ATS002-1","customfield_10308":"ATS002","customfield_10303":"As same","issuetype":{"id":"10301"},"customfield_10302":"The QRCode scanner will scan the QR Code and return the message of the QRCode","customfield_10305":"","customfield_10304":"2015-10-13","labels":[],"parent":"{\"id\":\"10652\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/issue\\\/10652\",\"key\":\"IOS150801-117\",\"fields\":{\"summary\":\"ATS002\\tQRCode function is functionable\",\"issuetype\":{\"id\":\"10300\",\"subtask\":false,\"avatarId\":10322,\"description\":\"Testing Scenario of the apps and server side\",\"iconUrl\":\"https:\\\/\\\/appunique.atlassian.net\\\/secure\\\/viewavatar?size=xsmall&avatarId=10322&avatarType=issuetype\",\"name\":\"Test Scenario\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/issuetype\\\/10300\"},\"status\":{\"id\":\"5\",\"description\":\"A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.\",\"iconUrl\":\"https:\\\/\\\/appunique.atlassian.net\\\/images\\\/icons\\\/statuses\\\/resolved.png\",\"name\":\"Resolved\",\"statusCategory\":{\"id\":3,\"colorName\":\"green\",\"name\":\"Done\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/statuscategory\\\/3\",\"key\":\"done\"},\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/status\\\/5\"},\"priority\":{\"id\":\"3\",\"iconUrl\":\"https:\\\/\\\/appunique.atlassian.net\\\/images\\\/icons\\\/priorities\\\/medium.svg\",\"name\":\"Medium\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/priority\\\/3\"}}}","assignee":{"name":"admin"},"fixVersions":[],"customfield_10202":"207b104","reporter":{"name":"riki.tsui"},"project":{"id":"10001"},"description":"The QRCode Scanner is functionable","priority":{"id":"3"},"customfield_10002":"","customfield_10310":{"id":"10339"},"customfield_10301":{"id":"10327"},"customfield_10003":"","components":[]}} Response code: 400, message: Bad Request, url: https://appunique.atlassian.net/rest/api/latest/issue? json: {"errors":{"parent":"data was not an object"},"errorMessages":[]} parent: data was not an object Clone of issue IOS150801-568 failed. Client error: 1 issues failed to be cloned. 0 issues cloned. org.swift.common.cli.CliClient$ClientException: 1 issues failed to be cloned. 0 issues cloned. at org.swift.jira.cli.helpers.CloneIssueHelper.cloneIssues(CloneIssueHelper.java:498) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:963) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:155)

    JIRA | 11 months ago | Riki
    org.swift.common.cli.CliClient$ClientException: 1 issues failed to be cloned. 0 issues cloned.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After I type the command as below: ./jira.sh --action cloneIssues --search 'project = IOS150801 AND issuetype in ("Test Scenario", "Test Case") ' --verbose Using JIRA Cloud and CLI is 5.1 Snapshot The result will shown as below and cannot clone the issues: Server address: https://appunique.atlassian.net/rpc/soap/jirasoapservice-v2 URL requested: https://appunique.atlassian.net/rest/api/latest/serverInfo? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/serverInfo? json: {"baseUrl":"https:\/\/appunique.atlassian.net","buildNumber":71001,"serverTitle":"JIRA","serverTime":"2015-12-21T00:22:29.191+0800","scmInfo":"2ba8c0f6d804dd6099ab1d311f328e634649726f","buildDate":"2015-12-04T00:00:00.000+0800","versionNumbers":[7,1,0],"version":"7.1.0-OD-02-030"} check JIRA release: 7.1.0-OD-02-030 Search: project = IOS150801 AND issuetype in ("Test Scenario", "Test Case") URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":0,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":50,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":100,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":150,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":200,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":250,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":300,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":350,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":400,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":450,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/search? Request type: POST Content type: application/json Post data: {"jql":"project = IOS150801 AND issuetype in (\"Test Scenario\", \"Test Case\")","startAt":500,"maxResults":50,"fields":["*all","-comment","-worklog"]} Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/search? URL requested: https://appunique.atlassian.net/rest/api/latest/field? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/field? URL requested: https://appunique.atlassian.net/rest/api/latest/issue/IOS150801-568?&fields=*all%2C-comment%2C-worklog Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/issue/IOS150801-568?&fields=*all%2C-comment%2C-worklog Id . . . . . . . . . . . . . : issuetype Name . . . . . . . . . . . . : Issue Type Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : issuetype Item type . . . . . . . . . . : URL requested: https://appunique.atlassian.net/rest/api/latest/project/IOS150801? Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/project/IOS150801? URL requested: https://appunique.atlassian.net/rest/api/latest/issue/createmeta/?&issuetypeIds=10301&projectKeys=IOS150801&expand=projects.issuetypes.fields Request type: GET Content type: application/json Response code: 200, message: OK, url: https://appunique.atlassian.net/rest/api/latest/issue/createmeta/?&issuetypeIds=10301&projectKeys=IOS150801&expand=projects.issuetypes.fields Id . . . . . . . . . . . . . : summary Name . . . . . . . . . . . . : Summary Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : reporter Name . . . . . . . . . . . . : Reporter Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : user Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : priority Name . . . . . . . . . . . . : Priority Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : true Has allowed values . . . . . : true Type . . . . . . . . . . . . : priority Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : description Name . . . . . . . . . . . . : Description Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : customfield_10002 Name . . . . . . . . . . . . : Sprint Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : string Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.pyxis.greenhopper.jira:gh-sprint Custom id . . . . . . . . . . : 10002 Id . . . . . . . . . . . . . : customfield_10003 Name . . . . . . . . . . . . : Epic Link Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : any Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.pyxis.greenhopper.jira:gh-epic-link Custom id . . . . . . . . . . : 10003 Id . . . . . . . . . . . . . : issuelinks Name . . . . . . . . . . . . : Linked Issues Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : issuelinks Id . . . . . . . . . . . . . : labels Name . . . . . . . . . . . . : Labels Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : string Id . . . . . . . . . . . . . : parent Name . . . . . . . . . . . . : Parent Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : issuelink Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : project Name . . . . . . . . . . . . : Project Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : project Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : components Name . . . . . . . . . . . . : Component/s Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : component Id . . . . . . . . . . . . . : customfield_10306 Name . . . . . . . . . . . . : Testing Steps Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10306 Id . . . . . . . . . . . . . : customfield_10309 Name . . . . . . . . . . . . : Test Case ID Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textfield Custom id . . . . . . . . . . : 10309 Id . . . . . . . . . . . . . : customfield_10308 Name . . . . . . . . . . . . : Test Scenario ID Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textfield Custom id . . . . . . . . . . : 10308 Id . . . . . . . . . . . . . : customfield_10303 Name . . . . . . . . . . . . : Test Actual Result Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10303 Id . . . . . . . . . . . . . : customfield_10302 Name . . . . . . . . . . . . : Test Expected Result Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10302 Id . . . . . . . . . . . . . : customfield_10305 Name . . . . . . . . . . . . : Testing Comment Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textarea Custom id . . . . . . . . . . : 10305 Id . . . . . . . . . . . . . : customfield_10304 Name . . . . . . . . . . . . : Testing Date Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : date Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:datepicker Custom id . . . . . . . . . . : 10304 Id . . . . . . . . . . . . . : fixVersions Name . . . . . . . . . . . . : Fix Version/s Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : version Id . . . . . . . . . . . . . : customfield_10310 Name . . . . . . . . . . . . : Test Scenario Type Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : option Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:select Custom id . . . . . . . . . . : 10310 Id . . . . . . . . . . . . . : customfield_10102 Name . . . . . . . . . . . . : CSR Mesh Pages and Functions Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : option Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:select Custom id . . . . . . . . . . : 10102 Id . . . . . . . . . . . . . : assignee Name . . . . . . . . . . . . : Assignee Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : true Has allowed values . . . . . : false Type . . . . . . . . . . . . : user Item type . . . . . . . . . . : Id . . . . . . . . . . . . . : attachment Name . . . . . . . . . . . . : Attachment Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : array Item type . . . . . . . . . . : attachment Id . . . . . . . . . . . . . : customfield_10202 Name . . . . . . . . . . . . : Finalize Version Description . . . . . . . . . : Required . . . . . . . . . . : false Has default . . . . . . . . . : false Has allowed values . . . . . : false Type . . . . . . . . . . . . : string Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:textfield Custom id . . . . . . . . . . : 10202 Id . . . . . . . . . . . . . : customfield_10301 Name . . . . . . . . . . . . : Test Status Description . . . . . . . . . : Required . . . . . . . . . . : true Has default . . . . . . . . . : false Has allowed values . . . . . : true Type . . . . . . . . . . . . : option Item type . . . . . . . . . . : Custom . . . . . . . . . . . : true Custom type . . . . . . . . . : com.atlassian.jira.plugin.system.customfieldtypes:select Custom id . . . . . . . . . . : 10301 URL requested: https://appunique.atlassian.net/rest/api/latest/issue? Request type: POST Content type: application/json Post data: {"fields":{"summary":"ATS002-1 - The QRCode Scanner is functionable","customfield_10102":{"id":"10112"},"customfield_10306":"\"1. Open the QRCode Scanner\r\n2. Scan the QR Code\"","customfield_10309":"ATS002-1","customfield_10308":"ATS002","customfield_10303":"As same","issuetype":{"id":"10301"},"customfield_10302":"The QRCode scanner will scan the QR Code and return the message of the QRCode","customfield_10305":"","customfield_10304":"2015-10-13","labels":[],"parent":"{\"id\":\"10652\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/issue\\\/10652\",\"key\":\"IOS150801-117\",\"fields\":{\"summary\":\"ATS002\\tQRCode function is functionable\",\"issuetype\":{\"id\":\"10300\",\"subtask\":false,\"avatarId\":10322,\"description\":\"Testing Scenario of the apps and server side\",\"iconUrl\":\"https:\\\/\\\/appunique.atlassian.net\\\/secure\\\/viewavatar?size=xsmall&avatarId=10322&avatarType=issuetype\",\"name\":\"Test Scenario\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/issuetype\\\/10300\"},\"status\":{\"id\":\"5\",\"description\":\"A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.\",\"iconUrl\":\"https:\\\/\\\/appunique.atlassian.net\\\/images\\\/icons\\\/statuses\\\/resolved.png\",\"name\":\"Resolved\",\"statusCategory\":{\"id\":3,\"colorName\":\"green\",\"name\":\"Done\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/statuscategory\\\/3\",\"key\":\"done\"},\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/status\\\/5\"},\"priority\":{\"id\":\"3\",\"iconUrl\":\"https:\\\/\\\/appunique.atlassian.net\\\/images\\\/icons\\\/priorities\\\/medium.svg\",\"name\":\"Medium\",\"self\":\"https:\\\/\\\/appunique.atlassian.net\\\/rest\\\/api\\\/2\\\/priority\\\/3\"}}}","assignee":{"name":"admin"},"fixVersions":[],"customfield_10202":"207b104","reporter":{"name":"riki.tsui"},"project":{"id":"10001"},"description":"The QRCode Scanner is functionable","priority":{"id":"3"},"customfield_10002":"","customfield_10310":{"id":"10339"},"customfield_10301":{"id":"10327"},"customfield_10003":"","components":[]}} Response code: 400, message: Bad Request, url: https://appunique.atlassian.net/rest/api/latest/issue? json: {"errors":{"parent":"data was not an object"},"errorMessages":[]} parent: data was not an object Clone of issue IOS150801-568 failed. Client error: 1 issues failed to be cloned. 0 issues cloned. org.swift.common.cli.CliClient$ClientException: 1 issues failed to be cloned. 0 issues cloned. at org.swift.jira.cli.helpers.CloneIssueHelper.cloneIssues(CloneIssueHelper.java:498) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:963) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:155)

    JIRA | 11 months ago | Riki
    org.swift.common.cli.CliClient$ClientException: 1 issues failed to be cloned. 0 issues cloned.
  6. 0

    When running run action to perform templated actions, getting an error difficult to decipher during action "addRepository". Creating a repository from scratch each time since each build plan needs a unique branch and there are many distinct repos. *Command being enacted in the Windows terminal:* {code:java} bamboo -v --action run --file bamboo_project_template.txt --findReplace "#PROJECT#:ENGLISHIVV13CID4160,#NAME#:"English-IV-v13-GS-4160",#WEBDAV#:educator_englishIV_v13_2_gs,#BRANCH#:gs_master_v13,#CLONEURL#:English%%20IV {code} *Template txt file being used:* {code:java} # Create a new project based on a template project --action cloneProject --project GE --toProject #PROJECT# # --name "#NAME#" # Add VSO/Git Repository --action addRepository --plan #PROJECT#-PRE --repositoryKey "GIT" --repository "VSO #WEBDAV#" --field1 repository.git.repositoryUrl --value1 https://flvs.visualstudio.com/DefaultCollection/cs/_git/#CLONEURL# --field2 repository.git.branch --value2 "#BRANCH#" --field3 repository.git.username --value3 "iceteam" --field4 repository.git.password --value4 "4bw5rngxkdklwww5xxxxxxxxxxxxxgar==xxxxxxxxxxxxxsg7mhn2ykmq" # Add a script task to PRE --action addTask --build #PROJECT#-PRE --job "default" --taskKey "CHECKOUT" --fields "argument:pubplan" --field1 "Repository" --value1 "VSO #WEBDAV#" --action addTask --build #PROJECT#-PRE --job "default" --taskKey "SCRIPT" --fields "argument:pubplan" --field1 "scriptLocation" --value1 "FILE" --field2 "scriptFile" --value2 "C:\Users\admin\Desktop\cwRsync_5.5.0_x86_Free\rsync_pub2.bat" --field3 "Argument" --value3 "${bamboo.buildKey} #WEBDAV#" {code} *CLI output pasted below:* {code:java} C:\Users\admin\Desktop\bamboo-cli-5.2.0>bamboo_action.bat C:\Users\admin\Desktop\bamboo-cli-5.2.0>bamboo -v --action run --file bamboo_project_template.txt --findReplace "#PROJECT#:ENGLISHIVV13CID4160,#NAME#:"English-IV-v13-GS-4160",#WEBD AV#:educator_englishIV_v13_2_gs,#BRANCH#:gs_master_v13,#CLONEURL#:English%20IV Server address: http://127.0.0.1:8085 Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/org.swift.bamboo.cli/latest/validatelicense? # Create a new project based on a template project Run: --action cloneProject --project GE --toProject ENGLISHIVV13CID4160 Server address: http://127.0.0.1:8085 URL requested: http://127.0.0.1:8085/rest/api/latest/project/GE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project/GE? URL requested: http://127.0.0.1:8085/rest/api/latest/project/GE?&expand=plans.plan&max-results=100&start-index=0 Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project/GE?&expand=plans.plan&max-results=100&start-index=0 URL requested: http://127.0.0.1:8085/rest/api/latest/project?&max-results=2147483647 Request type: GET Content type: application/xml Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project?&max-results=2147483647 Looking for project ENGLISHIVV13CID4160: AGV3 Looking for project ENGLISHIVV13CID4160: C1VG Looking for project ENGLISHIVV13CID4160: EIVG Looking for project ENGLISHIVV13CID4160: MLAVG Looking for project ENGLISHIVV13CID4160: MUHV3G Looking for project ENGLISHIVV13CID4160: MWHVG4 Looking for project ENGLISHIVV13CID4160: P1VG Looking for project ENGLISHIVV13CID4160: GE URL requested: http://127.0.0.1:8085/build/admin/create/performClonePlan.action?&planKeyToClone=GE-PRE&chainName=pubplan&projectKey=ENGLISHIVV13CID4160&chainKey=PRE&clonePlan=true& bamboo.successReturnMode=json&save=Create&projectName=ENGLISHIVV13CID4160&chainDescription=&tmp.createAsEnabled=true&existingProjectKey=newProject Request type: POST Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/build/admin/create/performClonePlan.action?&planKeyToClone=GE-PRE&chainName=pubplan&projectKey=ENGLISHIVV13CID4160&chain Key=PRE&clonePlan=true&bamboo.successReturnMode=json&save=Create&projectName=ENGLISHIVV13CID4160&chainDescription=&tmp.createAsEnabled=true&existingProjectKey=newProject URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Plan ENGLISHIVV13CID4160-PRE created based on GE-PRE. 1 plans cloned from GE to ENGLISHIVV13CID4160. # --name "English-IV-v13-GS-4160" # Add VSO/Git Repository Run: --action addRepository --plan ENGLISHIVV13CID4160-PRE --repositoryKey "GIT" --repository "VSO educator_englishIV_v13_2_gs" --field1 repository.git.repositoryUrl --value1 https ://flvs.visualstudio.com/DefaultCollection/cs/_git/English%20IV --field2 repository.git.branch --value2 "gs_master_v13" --field3 repository.git.username --value3 "iceteam" --field4 repository.git.password --value4 "4bw5rngxkdklxxxxxxxxxxxxxxxxxxxxxxxx7mhn2ykmq" Server address: http://127.0.0.1:8085 URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE?&expand=plans.plan Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE?&expand=plans.plan URL requested: http://127.0.0.1:8085/chain/admin/config/editChainRepository.action?&buildKey=ENGLISHIVV13CID4160-PRE Request type: GET Content type: text/html Response code: 200, message: OK, url: http://127.0.0.1:8085/chain/admin/config/editChainRepository.action?&buildKey=ENGLISHIVV13CID4160-PRE URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? URL requested: http://127.0.0.1:8085/chain/admin/config/createRepository.action?&confirm=true&selectedRepository=com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git%3Agit&repo sitory.git.username=iceteam&bamboo.successReturnMode=json&repositoryId=0&planKey=ENGLISHIVV13CID4160-PRE&repository.git.branch=gs_master_v13&repository.git.password=***&repository. git.repositoryUrl=https%3A%2F%2Fflvs.visualstudio.com%2FDefaultCollection%2Fcs%2F_git%2FEnglish%2520IV&repositoryName=VSO+educator_englishIV_v13_2_gs Request type: POST Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/chain/admin/config/createRepository.action?&confirm=true&selectedRepository=com.atlassian.bamboo.plugins.atlassian-bambo o-plugin-git%3Agit&repository.git.username=iceteam&bamboo.successReturnMode=json&repositoryId=0&planKey=ENGLISHIVV13CID4160-PRE&repository.git.branch=gs_master_v13&repository.git.p assword=***&repository.git.repositoryUrl=https%3A%2F%2Fflvs.visualstudio.com%2FDefaultCollection%2Fcs%2F_git%2FEnglish%2520IV&repositoryName=VSO+educator_englishIV_v13_2_gs Remote error: unknown org.swift.common.cli.AbstractRemoteClient$RemoteRestException: unknown at org.swift.bamboo.cli.helpers.RepositoryHelper.addOrUpdateRepository(RepositoryHelper.java:197) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:713) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.common.cli.CliClient.doWork(CliClient.java:521) at org.swift.common.cli.CliClient.doWork(CliClient.java:517) at org.swift.common.cli.CliClient.processRunLine(CliClient.java:1253) at org.swift.common.cli.AbstractRemoteClient.processRunLine(AbstractRemoteClient.java:772) at org.swift.common.cli.CliClient.doSingleRunLine(CliClient.java:1225) at org.swift.common.cli.CliClient.run(CliClient.java:1086) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:525) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253) Client error: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt org.swift.common.cli.CliClient$ClientException: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt at org.swift.common.cli.CliClient.run(CliClient.java:1159) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:525) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253) C:\Users\admin\Desktop\bamboo-cli-5.2.0> {code}

    JIRA | 8 months ago | George Meyer
    org.swift.common.cli.CliClient$ClientException: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.swift.common.cli.CliClient$ClientException

      0 notifications removed from plan. 1 not removed.

      at org.swift.bamboo.cli.helpers.NotificationHelper.removeNotification()
    2. org.swift.bamboo
      BambooClient.handleRequest
      1. org.swift.bamboo.cli.helpers.NotificationHelper.removeNotification(NotificationHelper.java:323)
      2. org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:728)
      2 frames
    3. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:441)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:454)
      2 frames
    4. org.swift.bamboo
      BambooClient.main
      1. org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253)
      1 frame