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

JIRA | Mauricio Pérez | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 1 year 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 | 1 year 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.

    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