org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Workflow schemes are not compatible. Migration needs to be done via the UI.

JIRA | Mauricio Pérez | 12 months ago
  1. 0

    Greetings, I am getting a non-consistent error while trying to update a proyect. Could you help me find what is causing the error? The action being executed is: acli/atlassian-cli-5.1.0-SNAPSHOT/all.sh --action jira --parameters ' --action "updateProject" --project "TERRARESPO" --workflowScheme "IGD Workflow Scheme" --issueTypeScheme "IGD Type Scheme" --fieldConfigurationScheme "IGD Field Configuration Scheme" --issueTypeScreenScheme "Default Issue Type Screen Scheme" --permissionScheme "Default Permission Scheme" --notificationScheme "Default Notification Scheme" --server "https://intergraphicdesigns.atlassian.net" --user "user" --password *** The error I get is: Remote error: Project TERRARESPO updated. However, errors occurred setting one or more other attributes. There was an error setting the workflow scheme: org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Workflow schemes are not compatible. Migration needs to be done via the UI. java.rmi.RemoteException: Project TERRARESPO updated. However, errors occurred setting one or more other attributes. There was an error setting the workflow scheme: org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Workflow schemes are not compatible. Migration needs to be done via the UI. at org.swift.jira.cli.helpers.ProjectHelper.updateProject(ProjectHelper.java:418) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:831) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.common.cli.CliClient.doWork(CliClient.java:500) at org.swift.common.cli.CliClient.doWork(CliClient.java:496) at org.swift.all.cli.AllClient.doClient(AllClient.java:270) at org.swift.all.cli.AllClient.handleRequest(AllClient.java:166) at org.swift.common.cli.CliClient.process(CliClient.java:523) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.all.cli.AllClient.main(AllClient.java:56) Ignore blank cookie file Ignore blank cookie file

    JIRA | 12 months ago | Mauricio Pérez
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Workflow schemes are not compatible. Migration needs to be done via the UI.
  2. 0

    Greetings, I am getting a non-consistent error while trying to update a proyect. Could you help me find what is causing the error? The action being executed is: acli/atlassian-cli-5.1.0-SNAPSHOT/all.sh --action jira --parameters ' --action "updateProject" --project "TERRARESPO" --workflowScheme "IGD Workflow Scheme" --issueTypeScheme "IGD Type Scheme" --fieldConfigurationScheme "IGD Field Configuration Scheme" --issueTypeScreenScheme "Default Issue Type Screen Scheme" --permissionScheme "Default Permission Scheme" --notificationScheme "Default Notification Scheme" --server "https://intergraphicdesigns.atlassian.net" --user "user" --password *** The error I get is: Remote error: Project TERRARESPO updated. However, errors occurred setting one or more other attributes. There was an error setting the workflow scheme: org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Workflow schemes are not compatible. Migration needs to be done via the UI. java.rmi.RemoteException: Project TERRARESPO updated. However, errors occurred setting one or more other attributes. There was an error setting the workflow scheme: org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Workflow schemes are not compatible. Migration needs to be done via the UI. at org.swift.jira.cli.helpers.ProjectHelper.updateProject(ProjectHelper.java:418) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:831) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.common.cli.CliClient.doWork(CliClient.java:500) at org.swift.common.cli.CliClient.doWork(CliClient.java:496) at org.swift.all.cli.AllClient.doClient(AllClient.java:270) at org.swift.all.cli.AllClient.handleRequest(AllClient.java:166) at org.swift.common.cli.CliClient.process(CliClient.java:523) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.all.cli.AllClient.main(AllClient.java:56) Ignore blank cookie file Ignore blank cookie file

    JIRA | 12 months ago | Mauricio Pérez
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Workflow schemes are not compatible. Migration needs to be done via the UI.
  3. 0

    If a JIRA CLI command line using the createProject action specifies a --project parameter value that does not conform to a 'valid project key' as defined in the target JIRA instance, JIRA CLI generates a fatal error. Shouldn't it handle it more gracefully? Command line: {noformat} jira-local --action createProject --project "project2" --name "project2" --lead "joe" --defaultAssignee "UNASSIGNED" --issueTypeScheme "RECIPE: Simple Issue Tracking Issue Type Scheme" --issueTypeScreenScheme "RECIPE: Simple Issue Tracking Issue Type Screen Scheme" --workflowScheme "RECIPE: Simple Issue Tracking Workflow Scheme" --verbose {noformat} Error generated: {noformat}Remote error: Project could not be created with the parameters you requested. No further information is available.{noformat} Verbose output: {noformat} Server address: http://localhost:8080/rpc/soap/jirasoapservice-v2 Successful login to: http://localhost:8080/rpc/soap/jirasoapservice-v2 by user: admin. URL requested: http://localhost:8080/rest/org.swift.jira.cli/latest/validatelicense? Request type: GET Content type: application/json Accept content type: application/json Using basic authentication. Response code: 200, message: OK, url: http://localhost:8080/rest/org.swift.jira.cli/latest/validatelicense? URL requested: http://localhost:8080/secure/admin/WebSudoAuthenticate.jspa?os_username=admin&os_password=***&authenticate=Confirm&webSudoPassword=***&webSudoDestination=%2Fsecure%2FAdminSummary.jspa&webSudoIsPost=true Request type: GET Content type: text/html Accept content type: text/html Response code: 200, message: OK, url: http://localhost:8080/secure/admin/WebSudoAuthenticate.jspa?os_username=admin&os_password=***&authenticate=Confirm&webSudoPassword=***&webSudoDestination=%2Fsecure%2FAdminSummary.jspa&webSudoIsPost=true URL requested: http://localhost:8080/secure/admin/ViewWorkflowSchemes.jspa? Request type: GET Content type: application/xml Accept content type: application/xml Response code: 200, message: OK, url: http://localhost:8080/secure/admin/ViewWorkflowSchemes.jspa? Parsing result data from XML response. workflow scheme found: true, with id: 10200, name: RECIPE: Simple Issue Tracking Workflow Scheme URL requested: http://localhost:8080/secure/admin/ManageIssueTypeSchemes!default.jspa? Request type: GET Content type: application/xml Accept content type: application/xml Response code: 200, message: OK, url: http://localhost:8080/secure/admin/ManageIssueTypeSchemes!default.jspa? Parsing result data from XML response. table size: 15672 find table: 28550 startIndex: 0, endIndex: 363, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< startIndex: 364, endIndex: 4015, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10000, name: Default Issue Type Scheme startIndex: 4016, endIndex: 6215, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10113, name: OB: Simple Issue Tracking Issue Type Scheme startIndex: 6216, endIndex: 8521, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10114, name: XXX: Simple Issue Tracking Issue Type Scheme startIndex: 8522, endIndex: 10856, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10115, name: OB: Simple Issue Tracking Issue Type Scheme (1) startIndex: 10857, endIndex: 13162, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10116, name: YYY: Simple Issue Tracking Issue Type Scheme startIndex: 13163, endIndex: 15636, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: true, with id: 10200, name: RECIPE: Simple Issue Tracking Issue Type Scheme URL requested: http://localhost:8080/secure/admin/ViewIssueTypeScreenSchemes.jspa? Request type: GET Content type: application/xml Accept content type: application/xml Response code: 200, message: OK, url: http://localhost:8080/secure/admin/ViewIssueTypeScreenSchemes.jspa? Parsing result data from XML response. table size: 9259 find table: 28987 startIndex: 0, endIndex: 244, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< startIndex: 245, endIndex: 1798, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< issue type screen scheme found: false, with id: 1, name: Default Issue Type Screen Scheme startIndex: 1799, endIndex: 3612, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< issue type screen scheme found: false, with id: 10005, name: OB: Simple Issue Tracking Issue Type Screen Scheme startIndex: 3613, endIndex: 5607, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< issue type screen scheme found: true, with id: 10100, name: RECIPE: Simple Issue Tracking Issue Type Screen Scheme jiraRelease: 6.4.4 Project create parameters: {name=project2, projectTemplateModuleKey=com.atlassian.jira-legacy-project-templates:jira-blank-item, keyEdited=true, projectTemplateWebItemKey=com.atlassian.jira-legacy-project-templates:jira-blank-item, key=PROJECT2, lead=Joe} URL requested: http://localhost:8080/rest/project-templates/1.0/templates? Request type: POST Content type: application/x-www-form-urlencoded Post data: name=project2&projectTemplateModuleKey=com.atlassian.jira-legacy-project-templates%3Ajira-blank-item&keyEdited=true&projectTemplateWebItemKey=com.atlassian.jira-legacy-project-templates%3Ajira-blank-item&key=PROJECT2&lead=Joe Response code: 400, message: Bad Request, url: http://localhost:8080/rest/project-templates/1.0/templates? Problem determination - response: 400: Bad Request Problem determination - response url: http://localhost:8080/rest/project-templates/1.0/templates? Problem determination - request url: http://localhost:8080/rest/project-templates/1.0/templates? Remote error: Project could not be created with the parameters you requested. No further information is available. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Project could not be created with the parameters you requested. No further information is available. at org.swift.jira.cli.ProjectHelper.createProject64(ProjectHelper.java:82) at org.swift.jira.cli.ProjectHelper.createProject(ProjectHelper.java:188) at org.swift.jira.cli.ProjectHelper.createProject(ProjectHelper.java:152) at org.swift.jira.cli.ProjectHelper.createProject(ProjectHelper.java:106) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:667) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:285) at org.swift.common.cli.CliClient.doWork(CliClient.java:413) at org.swift.jira.cli.JiraClient.main(JiraClient.java:112) 244c33228bfab25b2a69efdd9427dd748a48a6b0 logged out. {noformat}

    JIRA | 2 years ago | Betsy Walker [Bob Swift Atlassian Add-ons]
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Project could not be created with the parameters you requested. No further information is available.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If a JIRA CLI command line using the createProject action specifies a --project parameter value that does not conform to a 'valid project key' as defined in the target JIRA instance, JIRA CLI generates a fatal error. Shouldn't it handle it more gracefully? Command line: {noformat} jira-local --action createProject --project "project2" --name "project2" --lead "joe" --defaultAssignee "UNASSIGNED" --issueTypeScheme "RECIPE: Simple Issue Tracking Issue Type Scheme" --issueTypeScreenScheme "RECIPE: Simple Issue Tracking Issue Type Screen Scheme" --workflowScheme "RECIPE: Simple Issue Tracking Workflow Scheme" --verbose {noformat} Error generated: {noformat}Remote error: Project could not be created with the parameters you requested. No further information is available.{noformat} Verbose output: {noformat} Server address: http://localhost:8080/rpc/soap/jirasoapservice-v2 Successful login to: http://localhost:8080/rpc/soap/jirasoapservice-v2 by user: admin. URL requested: http://localhost:8080/rest/org.swift.jira.cli/latest/validatelicense? Request type: GET Content type: application/json Accept content type: application/json Using basic authentication. Response code: 200, message: OK, url: http://localhost:8080/rest/org.swift.jira.cli/latest/validatelicense? URL requested: http://localhost:8080/secure/admin/WebSudoAuthenticate.jspa?os_username=admin&os_password=***&authenticate=Confirm&webSudoPassword=***&webSudoDestination=%2Fsecure%2FAdminSummary.jspa&webSudoIsPost=true Request type: GET Content type: text/html Accept content type: text/html Response code: 200, message: OK, url: http://localhost:8080/secure/admin/WebSudoAuthenticate.jspa?os_username=admin&os_password=***&authenticate=Confirm&webSudoPassword=***&webSudoDestination=%2Fsecure%2FAdminSummary.jspa&webSudoIsPost=true URL requested: http://localhost:8080/secure/admin/ViewWorkflowSchemes.jspa? Request type: GET Content type: application/xml Accept content type: application/xml Response code: 200, message: OK, url: http://localhost:8080/secure/admin/ViewWorkflowSchemes.jspa? Parsing result data from XML response. workflow scheme found: true, with id: 10200, name: RECIPE: Simple Issue Tracking Workflow Scheme URL requested: http://localhost:8080/secure/admin/ManageIssueTypeSchemes!default.jspa? Request type: GET Content type: application/xml Accept content type: application/xml Response code: 200, message: OK, url: http://localhost:8080/secure/admin/ManageIssueTypeSchemes!default.jspa? Parsing result data from XML response. table size: 15672 find table: 28550 startIndex: 0, endIndex: 363, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< startIndex: 364, endIndex: 4015, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10000, name: Default Issue Type Scheme startIndex: 4016, endIndex: 6215, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10113, name: OB: Simple Issue Tracking Issue Type Scheme startIndex: 6216, endIndex: 8521, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10114, name: XXX: Simple Issue Tracking Issue Type Scheme startIndex: 8522, endIndex: 10856, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10115, name: OB: Simple Issue Tracking Issue Type Scheme (1) startIndex: 10857, endIndex: 13162, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: false, with id: 10116, name: YYY: Simple Issue Tracking Issue Type Scheme startIndex: 13163, endIndex: 15636, regex: (?s)<tr[^>]*id="(\d+)".*data-scheme-field="name">([^<]*)< issue type scheme found: true, with id: 10200, name: RECIPE: Simple Issue Tracking Issue Type Scheme URL requested: http://localhost:8080/secure/admin/ViewIssueTypeScreenSchemes.jspa? Request type: GET Content type: application/xml Accept content type: application/xml Response code: 200, message: OK, url: http://localhost:8080/secure/admin/ViewIssueTypeScreenSchemes.jspa? Parsing result data from XML response. table size: 9259 find table: 28987 startIndex: 0, endIndex: 244, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< startIndex: 245, endIndex: 1798, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< issue type screen scheme found: false, with id: 1, name: Default Issue Type Screen Scheme startIndex: 1799, endIndex: 3612, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< issue type screen scheme found: false, with id: 10005, name: OB: Simple Issue Tracking Issue Type Screen Scheme startIndex: 3613, endIndex: 5607, regex: (?s)href="ConFigureIssueTypeScreenScheme\.jspa\?id=(\d+)".*data-scheme-field="name">([^<]*)< issue type screen scheme found: true, with id: 10100, name: RECIPE: Simple Issue Tracking Issue Type Screen Scheme jiraRelease: 6.4.4 Project create parameters: {name=project2, projectTemplateModuleKey=com.atlassian.jira-legacy-project-templates:jira-blank-item, keyEdited=true, projectTemplateWebItemKey=com.atlassian.jira-legacy-project-templates:jira-blank-item, key=PROJECT2, lead=Joe} URL requested: http://localhost:8080/rest/project-templates/1.0/templates? Request type: POST Content type: application/x-www-form-urlencoded Post data: name=project2&projectTemplateModuleKey=com.atlassian.jira-legacy-project-templates%3Ajira-blank-item&keyEdited=true&projectTemplateWebItemKey=com.atlassian.jira-legacy-project-templates%3Ajira-blank-item&key=PROJECT2&lead=Joe Response code: 400, message: Bad Request, url: http://localhost:8080/rest/project-templates/1.0/templates? Problem determination - response: 400: Bad Request Problem determination - response url: http://localhost:8080/rest/project-templates/1.0/templates? Problem determination - request url: http://localhost:8080/rest/project-templates/1.0/templates? Remote error: Project could not be created with the parameters you requested. No further information is available. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Project could not be created with the parameters you requested. No further information is available. at org.swift.jira.cli.ProjectHelper.createProject64(ProjectHelper.java:82) at org.swift.jira.cli.ProjectHelper.createProject(ProjectHelper.java:188) at org.swift.jira.cli.ProjectHelper.createProject(ProjectHelper.java:152) at org.swift.jira.cli.ProjectHelper.createProject(ProjectHelper.java:106) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:667) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:285) at org.swift.common.cli.CliClient.doWork(CliClient.java:413) at org.swift.jira.cli.JiraClient.main(JiraClient.java:112) 244c33228bfab25b2a69efdd9427dd748a48a6b0 logged out. {noformat}

    JIRA | 2 years ago | Betsy Walker [Bob Swift Atlassian Add-ons]
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Project could not be created with the parameters you requested. No further information is available.
  6. 0

    bq. Error cloning service desk project: An invalid project template was specified. Make sure the project template matches the project type you specified. Trying to clone an existing service desk project but receive error about invalid project template specified. Have tried using --template with both "IT Service Desk" and "Basic Service Desk" as well as "com.atlassian.servicedesk:itil-service-desk-project" but always same error: c:\z\jira-cli-5.3.0>jira.bat --server http://ost-mgds-jira.mgds.local:8081 --user admin --password pass --action cloneProject --project "MGDSSD" --toProject "CLONESD" --name "CloneTest - Servicedesk" --template "IT Service Desk" --cloneIssues --copyVersions --copyComponents --copyRoleActors --copyAttachments --copyComments --copyWatchers --copyLinks --copySubtasks --continue -v Server address: http://ost-mgds-jira.mgds.local:8081 Response code: 200, message: OK, url: http://ost-mgds-jira.mgds.local:8081/rest/org.swift.jira.cli/latest/validatelicense? check JIRA release: 7.1.2 URL requested: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD? URL requested: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD/issuesecuritylevelscheme? Request type: GET Content type: application/json Response code: 404, message: Not Found, url: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD/issuesecuritylevelscheme? json: {"errorMessages":["Security level for project MGDSSD does not exist."],"errors":{}} 404 indicates there is no issue security associated with this project. URL requested: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD/notificationscheme? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD/notificationscheme? URL requested: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD/permissionscheme? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project/MGDSSD/permissionscheme? URL requested: http://ost-mgds-jira.mgds.local:8081/rest/project-templates/1.0/templates?os_username=admin&os_password=*** Request type: GET Content type: application/x-www-form-urlencoded Response code: 200, message: OK, url: http://ost-mgds-jira.mgds.local:8081/rest/project-templates/1.0/templates?os_username=admin&os_password=*** Project template list: [[name: Scrum software development, projectTemplateModuleCompleteKey: com.pyxis.greenhopper.jira:gh-scrum-template, itemModuleCompleteKey: com.pyxis.greenhopper.jira:gh-scrum-template, allowCreateProject: true], [name: Kanban software development, projectTemplateModuleCompleteKey: com.pyxis.greenhopper.jira:gh-kanban-template, itemModuleCompleteKey: com.pyxis.greenhopper.jira:gh-kanban-template, allowCreateProject: true], [name: Basic software development, projectTemplateModuleCompleteKey: com.pyxis.greenhopper.jira:basic-software-development-template, itemModuleCompleteKey: com.pyxis.greenhopper.jira:basic-software-development-template, allowCreateProject: true], [name: Basic Service Desk, projectTemplateModuleCompleteKey: com.atlassian.servicedesk:classic-service-desk-project, itemModuleCompleteKey: com.atlassian.servicedesk:classic-service-desk-project, allowCreateProject: true], [name: IT Service Desk, projectTemplateModuleCompleteKey: com.atlassian.servicedesk:itil-service-desk-project, itemModuleCompleteKey: com.atlassian.servicedesk:itil-service-desk-project, allowCreateProject: true], [name: Project management, projectTemplateModuleCompleteKey: com.atlassian.jira-core-project-templates:jira-core-project-management, itemModuleCompleteKey: com.atlassian.jira-core-project-templates:jira-core-project-management, allowCreateProject: true], [name: Task management, projectTemplateModuleCompleteKey: com.atlassian.jira-core-project-templates:jira-core-task-management, itemModuleCompleteKey: com.atlassian.jira-core-project-templates:jira-core-task-management, allowCreateProject: true], [name: Process management, projectTemplateModuleCompleteKey: com.atlassian.jira-core-project-templates:jira-core-process-management, itemModuleCompleteKey: com.atlassian.jira-core-project-templates:jira-core-process-management, allowCreateProject: true]] URL requested: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project? Request type: POST Content type: application/json Post data: {"projectTemplateKey":"com.pyxis.greenhopper.jira:basic-software-development-template","name":"CloneTest - Servicedesk","description":"","assigneeType":"UNASSIGNED","projectTypeKey":"service_desk","key":"CLONESD","lead":"mglenn@ostusa.com","url":"http:\/\/ost-mgds-jira.mgds.local:8081\/browse\/MGDSSD"} Response code: 400, message: Bad Request, url: http://ost-mgds-jira.mgds.local:8081/rest/api/latest/project? json: {"errorMessages":["An invalid project template was specified. Make sure the project template matches the project type you specified."],"errors":{}} Remote error: An invalid project template was specified. Make sure the project template matches the project type you specified. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: An invalid project template was specified. Make sure the project template matches the project type you specified. at org.swift.common.cli.AbstractRestClient.printErrorMessages(AbstractRestClient.java:293) at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:718) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:573) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:544) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:519) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:507) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:491) at org.swift.jira.cli.JiraRestClient.createProject(JiraRestClient.java:654) at org.swift.jira.cli.helpers.ProjectHelper.createProject(ProjectHelper.java:256) at org.swift.jira.cli.helpers.ProjectHelper.cloneProject(ProjectHelper.java:474) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:911) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:448) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.jira.cli.JiraClient.main(JiraClient.java:160) c:\z\jira-cli-5.3.0> I am not sure if it is relevant but the last Post data in the output above always has projectTemplateKey set to com.pyxis.greenhopper.jira:basic-software-development-template even if I specify something different with --template: Post data: {"projectTemplateKey":"com.pyxis.greenhopper.jira:basic-software-development-template","name":"CloneTest - Servicedesk","description":"","assigneeType":"UNASSIGNED","projectTypeKey":"service_desk","key":"CLONESD","lead":"mglenn@ostusa.com","url":"http:\/\/ost-mgds-jira.mgds.local:8081\/browse\/MGDSSD"} Please advise, thank you.

    JIRA | 7 months ago | Chris House
    org.swift.common.cli.AbstractRemoteClient$RemoteRestException: An invalid project template was specified. Make sure the project template matches the project type you specified.

    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.AbstractRemoteClient$RemoteRestException

      Workflow schemes are not compatible. Migration needs to be done via the UI.

      at org.swift.jira.cli.helpers.ProjectHelper.updateProject()
    2. org.swift.jira
      JiraClient.handleRequest
      1. org.swift.jira.cli.helpers.ProjectHelper.updateProject(ProjectHelper.java:418)
      2. org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:831)
      2 frames
    3. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:433)
      3. org.swift.common.cli.CliClient.doWork(CliClient.java:500)
      4. org.swift.common.cli.CliClient.doWork(CliClient.java:496)
      4 frames
    4. org.swift.all
      AllClient.handleRequest
      1. org.swift.all.cli.AllClient.doClient(AllClient.java:270)
      2. org.swift.all.cli.AllClient.handleRequest(AllClient.java:166)
      2 frames
    5. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.CliClient.process(CliClient.java:523)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:433)
      2 frames
    6. org.swift.all
      AllClient.main
      1. org.swift.all.cli.AllClient.main(AllClient.java:56)
      1 frame